question

Upvotes
Accepted
1 1 2 5

what is best way to test reconnection logic using reactor api ?

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

Hello @rinki121

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@rinki121

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@rinki121

You need to cut the TCP connection and verify if the application can reconnect to the server and resubscribe to items properly. To cut the TCP connection, on Windows, you can use a tool like TCPView to close the connection. You may unplug the network or disable the network interface.

Otherwise, you can kill the provider application, or ADS and then restart it.

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.