Sounds like a bug report I created a while back. Do teansacted sends still 
happen asynchroniusly?

Sent from my iPhone

> On Feb 13, 2014, at 4:18 AM, "tabish...@gmail.com [via ActiveMQ]" 
> <ml-node+s2283324n4677926...@n4.nabble.com> wrote:
> 
> 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: 
> > http://activemq.2283324.n4.nabble.com/AMQ-CMS-CPP-session-commit-not-working-as-expected-tp4677913.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com. 
> >
> 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. 
> [hidden email] | www.fusesource.com | www.redhat.com 
> skype: tabish121 | twitter: @tabish121 
> blog: http://timbish.blogspot.com/
> 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://activemq.2283324.n4.nabble.com/AMQ-CMS-CPP-session-commit-not-working-as-expected-tp4677913p4677926.html
> To start a new topic under ActiveMQ - User, email 
> ml-node+s2283324n234180...@n4.nabble.com 
> To unsubscribe from ActiveMQ - User, click here.
> NAML




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/AMQ-CMS-CPP-session-commit-not-working-as-expected-tp4677913p4677941.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to