I've tried to run the example you suggested and the producer hangs (same issue shown by camel)
ant -Durl="failover://tcp://hostname:61616?wireFormat.maxInactivityDuration=0&jms.prefetchPolicy.queuePrefetch=1&initialReconnectDelay=10&maxReconnectDelay=15000" producer -Dsubject="test" the only difference with yours is that the broker is not in local host but is a remote host (default configuration), perhaps it is a broker configuration issue? I am running ActiveMQ 5.4.2 -- View this message in context: http://camel.465427.n5.nabble.com/ActiveMQ-connection-with-failover-and-prefetch-tp3387737p3409179.html Sent from the Camel - Users mailing list archive at Nabble.com.