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.

1 Answer

· Write an Answer
Upvotes
Accepted
80k 257 52 75

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