activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject RE: Do transactions work in CMS 2.2?
Date Wed, 20 Aug 2008 17:52:00 GMT
Definitely sounds like there is something funny going on.  What version
of the broker are you using?  

If you could open a Jira issue and post a sample app that demonstrates
the problem that would be useful.

Regards
Tin

On Wed, 2008-08-20 at 09:11 -0700, Richard Gillingham wrote:
> 
> 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:richard@richardgillingham.com]
> >> Sent: Wednesday, August 20, 2008 10:51 AM
> >> To: dev@activemq.apache.org
> >> 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.
> > 
> > 
> > 
> 


Mime
View raw message