In the activemq-cpp example code, there is a countdown "latch".  If I
understand it correctly, you can pass in a number of milliseconds that it is
to wait for a message or a number that it will count down to as messages are
received.  With this structure, is it possible to asychronously receive
messages (using the onMessage function to process them) but stop the
listener from the outside? Say, from an outside thread?

Thanks,
mrh
-- 
View this message in context: 
http://www.nabble.com/Stop-Thread---Stop-Listening-tf4693571s2354.html#a13427708
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to