Difference between RefreshMsg and StatusMsg

In our application, we got only RefreshMsg as below at a certain time.
Refresh message (unspecified type), stream open, data suspect, status code None

After that we started to receive StatusMsg as below.
Status message, stream closed, data suspect, status code NotFound

What are the difference between RefreshMsg and StatusMsg ?
When should we expect StatusMsg and when should we expect RefreshMsg to get information about the status of data ?
Can we consider that both of above message are same in regards of he information "data suspect" ?

After receiving above RefreshMsg, should we consider data is completely suspect ? Or can we use existing data for the corresponding instrument?

Thanks in advance.


Tagged:

Best Answer

  • Hello @Ramazan ,

    The two are similar:

    • Both are possible initial responses when subscribing to a RIC.
    • Both are not ok, and depending on your requirements can to be reported to the business tier/user/log/etc.

    However, they differ:

    • Status = stream closed and instrument not found, is final. It will not change.
    • Refresh = stream opened and data suspect is intermittent. As long as the stream remains open, the infra is being recovered and one this happens, will receive further updates, status, whichever is applicable. If SingleOpen is in place, which is default.

    Please find the details on Item Refresh Responses and Processing Status Response Messages in RFA Java Developers Guide if you are in Java or in the analogous sections in RFA C++ Developer Guide.

    Hope this information helps

Answers