No acknowledge status message for single item request, but works for batch request

For batch request, there will be an acknowledge status message:

StatusMsg

streamId="5"

domain="MarketPrice Domain"

state="Closed / Ok / None / 'Batch request acknowledged.'"

StatusMsgEnd

However, for the normal single item request, there will be no such acknowledge status message. Is that the case? and the reason? or some configuration controls this behavior, either on server side or client side.

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @Frederic

    It is expected behavior. With a Batch subscription, the Real-Time server closes the batch items request streams, and then sends each item data back to the API via individual streams, so the API needs to notify the application about that "request stream close" event.

    With a single item subscription, the server sends data back to the API via the same item request stream, so there is no notification regarding the stream being closed.