activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <>
Subject Re: ActiveMQ CPP : Same message being consumed by two consumers
Date Tue, 22 Nov 2011 15:46:33 GMT
2011/11/22 manua <>:
> We have used activemq cpp and created a session. The session is set in the
> auto acknowledge mode.
> Multiple threads have been launched from that code and each thread has a
> consumer.All consumers are listening on the same queue, and sharing the same
> session.

Do you protect the session properly from concurrent access by multiple
threads (i.e. using mutex)?

View raw message