activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suny_reddy <>
Subject SendMessage getting hung when ActiveMQ is restarted
Date Fri, 23 Sep 2011 10:48:39 GMT

I am using ActiveMQ 5.6.0 Snapshot and ActiveMQ-CPP 3.4.0. I am doing a
negative test with my application. ActiveMQ server is installed as a
service. I started application with a load of 10 messages per second. While
sending the messages I restarted ActiveMQ service. Most of the times I am
getting Connection Interrupted message and my application stops sending
further messages on receiving Interrupted event and waits till "Resumed"
event appears.

My issue is during this test some times application is getting hung after
send message and it is not getting anything back. I am not sure what is
happening here, there is no exception or error I am receiving back.
(ActiveMQ service got restarted properly)

I am trying with different config options, but still issue persists.
Here is the Broker URI I am using.....

As per this Send Message should return an exception after time out of 30
seconds, but this is also not happening most of the times. Sometimes it
happnes, but immidiately after receiving exception, application gets hung
while sending next message.

Could any one give me some suggestions to solve this problem. Also is there
any way to enable logs in ActiveMQ-CPP, so that I can atleast know what is
happening inside.

Thanks & Regards

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message