question

Upvotes
Accepted
4 2 0 4

EMA C++ MRN Consumer Client - how to handle connection and status issues

I have the "EMA Consumer - Request & Decode Machine Readable News" as the basis for an MRN consumer client up and running.

I need to be able to cope with connection issues and status messages. I cannot find that information in the "ELEKTRON MESSAGE API DEVELOPERS GUIDE".

Can anybody give me an example of how to deal with connection issues and OnStatusMsg issues?

Thanks

Dave

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
20.3k 73 10 20

Hi @Dave Streeter

Please refer to the following post on details regards Status Msgs

Handling Rssl states in ETA API

Although it talks about ETA - similar principals apply to EMA. As mentioned by Brian Sandri, take a look at the ETA developer guide - Appendix A 'Item and Group Decision table'

EMA will try and recover connections and items for you when possible. Use ChannelSets as opposed to a single Channel - to allow EMA to attempt failover to another server if the connection to one fails - Multiple hostnames

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
4 2 0 4

@Umer Nalla

In Appendix A there is a column STATUS TYPE. This has a value of Item or Group. How should this be used for MRN via EMA?

Thanks

Dave

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
20.3k 73 10 20

Hi @Dave Streeter

From an EMA Consumer perspective you would only be interested in Items.

Groups are used by Provider applications to communicate changes to the state/status for groups of instruments more efficiently.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea