Re: Re:Is there a way to know when the standby exclusive consumer become active

2013-04-24 Thread Sean Guo
Hello there, I worked out to get the notify from within the same consumer. Just make this consumer to listen on both the queue and the advisory queue. But now I have a question is when there two standby consumer and one active consumer, all are exclusive, is there a way to know which become the cu

Re: Is there a way to know when the standby exclusive consumer become active

2013-04-23 Thread Sean Guo
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" <[hidden > email]<http://u

Is there a way to know when the standby exclusive consumer become active

2013-04-22 Thread Sean Guo
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 kn