question

Upvotes
Accepted
66 2 6 11

EMA API reconnect parameter

Hi team,

client is using bellow EMACONFIG.XML. could you pls guide how to add reconnect time parameter? and what is the reconnect action for bellow configuration.

thanks


ema-api
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.

Upvotes
Accepted
79.8k 257 52 74

@gang.chen1

Thanks for reaching out to us.

By default, EMA will reconnect to the server and recover all subscribed items if it can detect disconnections. However, if the server sends a login status closed message to the consumer, EMA will not recover the connection.

The configurations that control this reconnection behavior are shown below.

1666779499497.png

These configurations are set in the Consumer configuration.

Please feel free to reach out if you have any further questions.


1666779499497.png (120.3 KiB)
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.

Hi Jira,

One more question. Client configured 2 Channel based on the EMAconfig.xml. what will happen if server sends a login status closed message ? will EMA try to connect second channel ?

thanks

Gang

@gang.chen1

According to my test, it will not connect to the second channel.

same with client's behaver. any suggestion to recover connection if server sends a login status closed message ?

Show more comments
Upvotes
66 2 6 11

upload EMACONFIG.XMLemaconfig.jpg


emaconfig.jpg (293.1 KiB)
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.