activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JohnOldman <>
Subject Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Date Wed, 21 Nov 2007 10:52:34 GMT


CMS 2.1.1
ActiveMQ 4.1.1
SUSE 10.2

Based on the sample code, have set up a simple client/server queue, using
createSession with AUTO_ACKNOWLEDGE.

Messages appear to work as expected.

However, I want to eventually end up with a failover setup, with two
servers, and therefore need to leave the message in the queue until I know
it has been processed by the working server.

Now I have tried using createSession with SESSION_TRANSACTED to keep the
message in the queue, then calling commit() when the server has finished
processing the message, but keep getting core dumps.

Is this approach to using SESSION_TRANSACTED / commit() the correct way to
be running CMS? 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message