activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrh <>
Subject Re: Stop Thread / Stop Listening
Date Fri, 26 Oct 2007 13:49:31 GMT

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?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message