Server connection lost - Not reconnecting


I’m calling a service which drops a message to a remote queue ( IBM MQ) using a REST service. This service is invoked 5000 times if someone wants to drop 5000 messages.
The connection gets lost in the middle and if it stops responding. No other users can use this until the vaadin application is restarted.

Is there any workaround?

Take a look at the async component in the component directory. It might help.