I'm not sure if this issue is related.... my issue occurs randomly, within the first 50-100 messages that get sent, and it's only a single producer that hangs, but over time all my producer threads would become hung.
Is there some kind of timeout i can apply to a publish call ? C. Benson Manica-2 wrote: > > I'm not sure if the issue you're reporting is related, but as it > happens I have been experiencing some hanging issues myself which led > me to > > http://www.nabble.com/activemq-clients-all-hang-t1950608.html > > and > > https://issues.apache.org/activemq/browse/AMQ-845 > > , which unfortunately do not make for comforting reading. HTH... > > On Thu, Oct 05, 2006 at 06:00:27AM -0700, nbreau wrote: >> Hi All, >> >> I've noticed that ActiveMQ has been occasionaly hanging causing deadlock >> in >> our application when trying to publish a message. While debugging i >> noticed >> that when the publish becomes hung if i kill activemq and restart it the >> message completes its publishing and the code continues to execute. >> >> The deliver mode is non persistent, the producer connection is set to >> connectionFactory.setUseAsyncSend(true) and the consumer connection is >> connectionFactory.setAsyncDispatch(true). >> >> At this point I'm not sure where to look to solve this issue.. since >> there >> is no actuall exception being thrown or stack trace/message to look out. >> >> thanks, >> Nick. >> >> -- >> View this message in context: >> http://www.nabble.com/Hang-on-publish-of-non-persistent-message-tf2388290.html#a6658067 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- > C. Benson Manica > ataru(at)sdf.lonestar.org > > -- View this message in context: http://www.nabble.com/Hang-on-publish-of-non-persistent-message-tf2388290.html#a6658737 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
