Thanks for the reply.

Yes I've got a consumer on the queue and see the message correctly come in
to my message handler.  I then do session.commit() but the message is left
on the queue in flight.  If I kill the session and restart the same message
comes in off the queue again.  If I switch back to autoacknowledge then it
is removed from the queue.

Any ideas?

Richard


tabish121 wrote:
> 
> As far as I know it works, do you have any consumers on the Queue?  
> 
>> -----Original Message-----
>> From: Richard Gillingham [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, August 20, 2008 10:51 AM
>> To: [email protected]
>> Subject: CPP: Do transactions work in CMS 2.2?
>> 
>> 
>> 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
>> --
>> View this message in context: http://www.nabble.com/CPP%3A-Do-
>> transactions-work-in-CMS-2.2--tp19069993p19069993.html
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CPP%3A-Do-transactions-work-in-CMS-2.2--tp19069993p19072258.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to