activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Re:Is there a way to know when the standby exclusive consumer become active
Date Tue, 23 Apr 2013 08:20:42 GMT
yes, you can subscribe the advisory topic to get notified when consumers start or stop.
For exclusive consumer it will release the exclusive lock when it's stopped, that means there
must be a switch happening.



At 2013-04-23 14:28:23,"Sean Guo" <sguo@voxeolabs.com> wrote:
>I'm using active/active exclusive consumer model to consume message from the
>ActiveMQ. Since I'm writing the consumed message files and split the file
>based on time(e.g. 30min). When the active consumer dies and the standby
>consume become active I need to start up the timer. So is there a way to
>know there is a switch happened?
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-know-when-the-standby-exclusive-consumer-become-active-tp4666137.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message