question

Upvotes
Accepted
5 0 0 0

Get connection related events on client side when connecting/connected to Refinitiv servers

We use Refinitv Elektron SDK API (ema.jar, upa.jar, upaValueAdd.jar version 3.5.0.0) to connect to Refinitiv to get market data.


We are interested in capturing the connection related events on our side when client component (using EMA client libraries) connects to Refinitiv and subscribes to some chain/ric via the EMA client library. We want to know the API which can be used to capture the following types of events:

1) Successful connection events: Event when EMA client library establishes an successful connection with the Refinitiv servers.

2) Disconnect events: Event when EMA client library disconnects from the Refinitiv servers. It can be due to network issues, refinitiv servers goes down etc...

3) Heartbeat events: Events which are periodically published by the EMA client library to show connection status.


Initial connection is established in following way:

OmmConsumerConfig config = EmaFactory.createOmmConsumerConfig();

OmmConsumer consumer = EmaFactory.createOmmConsumer(config.host(server).username(userName).applicationId(applicationId));

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.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@hardeepsangha

Refer to this thread, EMA internally handles connection events (Successful, Disconnect, Heartbeat) but it doesn't forward them to the EMA client application.

However, you can retrieve connection and disconnection via the login stream. Please refer to the ex333_Login_Streaming_DomainRep example in the EMA Java package about registering a login stream.

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