Re: How to close consumer from broker service embedded

2014-05-16 Thread Christian Posta
kind of curious, why? you'd need to build your own callback/control bus for that... apache camel is a good option for doing that.. that way you can detect events and then make decisions to determine whether a consumer should close.. On Tue, May 13, 2014 at 12:51 AM, xita-de wrote: > Thanks for

Re: How to close consumer from broker service embedded

2014-05-13 Thread xita-de
Thanks for your reply:) I user Advisory Message to detect consumer join. When I would like to close consumer(From Advisory Message or from Broker, not from consumer side). How can I do? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-close-consumer-from-broker-serv

Re: How to close consumer from broker service embedded

2014-05-12 Thread Christian Posta
Not exactly clear what you're asking... Are you asking how to close a consumer to the advisory topics at a later point in the life of your application? Keep a reference to that consumer, and call consumer.close() if that's the case. On Sun, May 11, 2014 at 12:34 AM, xita-de wrote: > Dear all, > >