question

Upvotes
Accepted
37 1 1 6

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea