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!

Best Answer

  • umer.nalla
    Answer ✓

    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.