question

Upvotes
Accepted
13 1 1 1

Where to have the all of values of 'statusText' in EMA Java

In EMA Java, StatusMsg.StatusMsg is defined below

public StatusMsg state(int streamState, int dataState,    int statusCode, String statusText);

May I know which docs describes all available values of the last parameter 'statusText' in more detail? Thank you!

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

Upvote
Accepted
20.3k 73 10 20

Hi @tony.zhu

The Status Text value itself can change over time and new ones may be added at the server/feed level - as they are generated by the server not the API.

The text value should only be used for logging purposes and not for process flow within your code.

However, what you can do is check the StatusCode as well as StreamState and DataState to determine process flow or application activity.

You can find a list of the values for the above codes/states under the OMMState documentation in the EMA Java Reference manual which is included with the ElektronSDK in the Ema\Docs\Webdocs or Refman folder or Online on this portal.

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