Hi 

I have two Java processes with their own embedded broker, linked together
with a multicast network of broker.

I start the "server process" which first creates its broker and connects
itself to it.
Then, I start the "client process" which first creates its broker, and
connects itself to it.

The network of broker is automatically created and all my messages sent by
the client to the server are received. And all answers sent by the server
are received by the client. Very well !

Then I ask the client to gracefully disconnect from its broker (JMS
disconnect). I think disconnect is OK, then my process wants to stop, but
has to wait until I break "CTRL-C" my server process.

I imagine there are some active threads which don't want to stop. Is there a
good way to gracefully ask my client to stop the ActiveMQ threads which are
used by the network of broker ?

Until now, I only use JMS methods. And I prefer to continue, if it's
possible (a connection parameter ?)

Thank you
Eric
-- 
View this message in context: 
http://www.nabble.com/Correctly-leaving-a-network-of-broker-tp22062875p22062875.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to