If the primary connection fails and the client system connects to the newly promoted primary Drop Copy Gateway, that instance will begin with the next available outbound sequence number to the client (outbound sequence number could be higher due to unprocessed in-flight messages).The client application should connect to the newly promoted primary Drop Copy Gateway.CME Globex initiates failover by electing the ranking inactive designated backup Drop Copy Gateway to assume the primary role.If connection to primary host has been dropped, CME allows to connect to backup host: Handler handler2 = new Handler(senderCompId, targetCompId, senderSubId, targetSubId2, senderLocationId) Same SenderCompId and SenderSubId, but different TargetSubID Handler handler1 = new Handler(senderCompId, targetCompId, senderSubId, targetSubId1, senderLocationId)
The following example demonstrates how to how to connect to multiple segments. SenderCompId and SenderSubId will be same for all segments. Note Segment id is specified as session TargetSubID. Please see miltisegment sample from installation package. To create one handler instance for each segment. To connect to multiple segments, there is need Handler instance allows to connect to single segment only. Methods, which accepts accessKeyID and secretKey parameters. To provide secure keys to DropCopy Handler please call one of Handler.logon()
Secure Logon procedure was implemented inside DropCopy Handler. If the values do not match, CME Globex rejects the logon.Ĭustomers must create secure key pairs for iLink and Drop Copy Sessions in the CME Customer Center. To calculate the HMAC value to validate against the logon request. When CME Globex receives the logon message, it uses the identical inputs (HMAC) generated from a combination of the logon FIX tag values.
Message confidentiality and integrity - to credential the logon message, the client system sends a keyed-hash message authentication code.
Onix Solutions CME Drop Copy Handler for Java is a Java library that provides an access OnixS Java CME Drop Copy Handler - Programmer's Guide