activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: ActiveMQ CPP : Same message being consumed by two consumers
Date Tue, 22 Nov 2011 15:26:25 GMT
On Tue, 2011-11-22 at 07:19 -0800, manua wrote:
> HI,
> 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.
> It looks that a message on that queue is being consumed by more than
> consumer.
> Is it possible that same message is consumed by more than one consumer when
> the session is set in auto acknowledge mode, or am I doing something wrong.
> Kindly let me know your inputs.
> Thanks,
> Manu

This shouldn't happen.  There can be a duplicate message in the case of
failover because the CPP client doesn't have the Message Audit facility
that the Java client does.  Do you have a test case that can reproduce
the problem?


Tim Bish
Twitter: tabish121

View raw message