question

Upvotes
Accepted
37 1 1 6

EMA C++ code example to auto re-login in case of Login stream closed

May I have a workable (RTO) EMA C++ code example to auto re-login in case of Login stream closed (abnormal case)?

ema-apirrto
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
9.7k 49 38 60

@Frederic

EMA C++ will perform automatic recovery on behalf of the user if there is an issue with the connection and login stream. You should be able to demonstrate this with some of the packaged RTO examples, i.e. 113_MP_SessionMgmt

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.

In the case of login stream closed (e.g., due to the temporary issue of 'authentication' system) and auto recovery (is that the case even the login stream state was turned to 'CLOSED'?), will there be login refresh and status message received by the consumer?
And will the batch subscription be auto subscribed and got some ACK message then?

Click below to post an Idea Post Idea