This content has been marked as final.
Show 1 reply
-
1. Re: ActiveMQ : potential hang with failover, deadlock pending dispatch with AMQ
garytully Jan 16, 2012 9:58 AM (in response to kjagadeeshkumar)I think you need to use the WriteTimeoutFilter so that you can short circuit the OS tcp level detection of a broken socket connection.
Configure on the broker for the broker dispatch thread:
and on on the client, for acks
failover://(tcp://localhost:xxx?soWriteTimeout=15000,tcp://localhost:yyy?soWriteTimeout=15000)?randomize=false