activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: DefaultMessageListenerContainer + not remove messages until processed
Date Wed, 04 Apr 2007 16:18:44 GMT
On 4/4/07, Garner, Shawn <> wrote:
> I put a org.springframework.jms.connection.JmsTransactionManager on the
> DefaultMessageListenerContainer but all this does is roll back any
> changes I made after consuming the message.
> I am also using the org.jencks.factory.TransactionManagerFactoryBean and
> org.jencks.factory.ConnectionManagerFactoryBean since I'm in Tomcat
> without any EJB layer.
> It does not put the message back into the queue like I want.
> How do you enable client-acknowledge mode?

See the spring javadoc on how to enable ack modes or transactional consumption.

also note that the Spring listener containers don't use JCA so there's
no real point using Jencks; just use the spring transaction manager



View raw message