No, your code looks fine. I spent about an hour on this last night but haven't come to any conclusions on what the problem might be.
If you can create an issue and log anything that you find in there that would be helpful. http://issues.apache.org/activemq/browse/AMQCPP Regards Tim. On Fri, 2008-08-22 at 03:41 -0700, Richard Gillingham wrote: > > Doing some more debugging - I think I might have seen the same problem with > NMS too - I'll try and confirm. Is there anything odd in the way I'm using > commit()?? > > Thanks in advance > Richard > > > Richard Gillingham wrote: > > > > Hi > > > > I've swaped from AutoAcknowledge to transactional sessions and am seeing > > all messages get stuck on the queues. Even if I simply do a > > session->commit() in the message handler the message remains inflight. > > Are transactions working in CMS 2.2? Is there a fix I can apply? > > > > Thanks in advance > > > > Richard > > >
