FIXAntennaJava
2.26.0
|
This article describes the FIX connectivity to iLink 2.X using the B2BITS FIX Antenna Java (tm) library CME iLink adaptor.
iLink 2.X is based on the FIX 4.2 protocol to establish and manage bi-directional sessions.
Using B2BITS FIX Antenna Java(tm) a user can establish connection with a FIX-over-FAST oriented
This example provides a simple functionality for connecting to CME iLink server and reading data from it.
Key requirements:
How to create an application for iLink MSGW To create MSGW session you need special configuration for FIXAJ and special FIX dictionary. You can find example of configuration in "examples\etc\msgw\" and dictionary "ilink_dic\cmeilink_msgw_fix42.xml" in the cmeilinkadaptor package If you are not going to use a Fault Tolerance connection, you can use the example described above.
Example how to connect to iLink MSGW with Fault Tolerance you can find in cmeilinkadaptor package(examples\src\com\epam\example\msgw\SimpleOrderSenderSessionMSGW.java)
iLink adaptor reads configurations parameters from the engine.properties file which is plased in appropriate etc directory of iLink distribution.
- Configuration parameters - maxRequestResendInBlock - defines the maximum requested messages in one resend request block. CME iLink specification it is highly recommended the client system request the maximum limit of 2500 messages. - includeLastProcessed - include or exclude the 369 tag from messages. According to the CME iLink specification the 369 tag should be included in all messages. - forceSeqNumReset - This parameter allow to automatically resolve sequence gap problem (for example, when there is every day sequence reset). Supported values: Always, OneTime, Never.<br/> If this parameter is set to: - Always - session will send logon with 34= 1 and 141=Y every times (during connection and reconnection). - OneTime - session will send logon with 34= 1 and 141=Y only one time (during connection). - Never - this means that user can sets the 34= 1 and 141=Y from session parameters by hand. - validation.FIX42.additionalDictionaryFileName - defines path to additional dictionary. - validation.FIX42.additionalDictionaryUpdate - defines if replace or update the additional dictionary.