activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emc2family <emc2fam...@gmail.com>
Subject how to best implement a producer timeout
Date Thu, 11 Dec 2008 01:38:45 GMT

Hi,

when a broker starts to block producers as a result of producer flow
control, is there an elegant way for a producer to timeout as a result of
this?  i was thinking of setting the message's timetolive to achieve this. 
i suppose i could also 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-a-producer-timeout-tp20947923p20947923.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message