activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: Is it possible to suspend and resume message delivery for broker?
Date Fri, 02 Nov 2007 07:34:17 GMT
On 11/1/07, Roger Hoover <> wrote:
> While rolling out new consumer code, we'd like to suspend the broker
> so that messages can be enqueued but not delivered.  Once we've pushed
> the new code out and restarted the consumers, we want to resume
> message delivery.
> Is this possible with ActiveMQ?
> Any advice/info is appreciated.  Thanks,

Why not configure the consumers to use the failover transport
( so that
they'll reconnect automatically? Even if a given consumer only
connects to a single broker, this is a good idea. And using the
initialReconnectDelay option will give the broker(s) time to restart
allowing the consumers to survive a broker going offline temporarily.

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache ServiceMix -
Apache Geronimo -
Castor -

View raw message