activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin_405 <>
Subject ActiveMQ Send Timeout does not work while simulating packetloss
Date Mon, 03 Dec 2012 15:33:26 GMT

I am using active MQ with spring.

I am using JMS Template to send the messages. 

My application logic is the following activies in sequence
1> Do some set of online activities
2> Submit some things for offline activity using JMS template and active MQ
3> Sent response for online activities

My use case is I down want the offline activity to impact my online flow.

I tried setting different timeout settings for 





both work and timeout in approximately 3  to 5 secs if the service is down. 

But if i simulate a network packet loss it takes over 50 secs to respond.
The way I simulate packetloss is i use 
iptables -A OUTPUT -p tcp --dport 61616 -j DROP

Is there any alternate timeout i can set for this kind of scenerio

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

View raw message