activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: AMQ CMS CPP : session commit not working as expected
Date Thu, 13 Feb 2014 11:17:05 GMT
On 02/13/2014 01:53 AM, Gangadhar Rao wrote:
> We did a test recently with the latest CMS CPP library.
> Scenario:
> To test the session commit functionality when queue memory is full on the
> destination broker.
> Setup:
> We have written one client which acts like a producer and the activemq
> session is opened in SESSION TRANSACTED mode.
> The messages are sent by the producer to the destination broker queue so
> that the queue memory limit is hit on the destination queue.
> After sending the batch of messages, the producer did a commit on the
> session, which resulted in only committing only a subset of messages in the
> destination queue and remaining messages are not commited *due to the queue
> memory getting full.*
> *Actually we were expecting that session commit call should either commit
> the whole batch of messages or rollback the entire batch of messages if the
> queue is FULL on the destination broker queue, but it should not commit few
> messages and rollback the other messages.
> *
> *Can anyone please advice whether this is the expected functionality or it
> is BUG in the activemq CMS CPP library session commit function code.
> *
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at
One way to check is to repeat the same test using the Java client and 
see what happens there.

Tim Bish
Sr Software Engineer | RedHat Inc. | |
skype: tabish121 | twitter: @tabish121

View raw message