Re: how to best implement a producer timeout

2008-12-10 Thread Rob Davies
use maxinactivityduration. i think both will throw a jmsexception. which leads me to my next question. is there a specific error code for a timetolive or maxinactivityduration exceptions? thanks a bunch. -- View this message in context: http://www.nabble.com/how-to-best-implement

Re: how to best implement a producer timeout

2008-12-10 Thread PankajGugnani
. is there a specific error code for a timetolive or maxinactivityduration exceptions? thanks a bunch. -- View this message in context: http://www.nabble.com/how-to-best-implement-a-producer-timeout-tp20947923p20947923.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: how to best implement a producer timeout

2008-12-10 Thread Rob Davies
://www.nabble.com/how-to-best-implement-a-producer-timeout-tp20947923p20947923.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. Not elegant - but one of these - if you are sending with default delivery mode (PERSISTENT): When you create your MessageProducer - cast