2008/12/15 Lars Ivar Igesund <larsi...@igesund.net>: > Hi! > > We have a central routing application/server using spring and camel and AMQ, > and various clients connecting to it. > > Now, for the last couple of months we've been using 1.4.0 which generally > works fine. However, fairly often after a restart of the server app (it is > still under development), it hangs as it replies to the first client to > connect.
This sounds like it could be producer flow control kicking in. See this... http://activemq.apache.org/producer-flow-control.html I also noticed you are turning off persistence... <amq:broker useJmx="false" persistent="false"> <amq:transportConnectors> <amq:transportConnector uri="tcp://localhost:61617" /> </amq:transportConnectors> </amq:broker> This is not really recommended for production use; its really just for testing. To use non persistent messaging you should use the regular broker and just set messages to be non persistent on the endpoint using the deliveryPersistent = false flag. More details here http://activemq.apache.org/camel/jms.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/