question

Upvotes
Accepted
13 3 2 7

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-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

@tony.zhu

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvote
Accepted
25.3k 87 12 25

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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