Before putting the application in production I was testing the swift mq messaging solution in our web application.
For test I connect my webapplication to the swiftmq queue and send few jms messages. After that I halted the active instance of the jms router using the explorer application shipped along with the swiftmq.
Now QueueSender.send() method hangs for the period of 15 mins. Same thing happens with the explorer application if router is shut down using the command line on the server. Explorer application stops responding and hang for the period of 10 -15 mins.
What should I do or change so that the application will not hang and send mehod call will return immediately with some exception. My application opens the connection at the start up and holds it in the singleton producer for the lifetime of the application.
Looking forward for your response.
Thanks in advance.
Best Regards
Re: Connected application hangs if the router instace is halted