question

Upvotes
Accepted
33 9 13 31

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.

batchstatus
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.

1 Answer

· Write an Answer
Upvotes
Accepted
24.7k 54 17 14

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.

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.