activemq-users mailing list archives

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

Hi

Using:
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? 

Thanks
John
-- 
View this message in context: http://www.nabble.com/Problem-changing-from-%22AUTO_ACKNOWLEDGE%22-to-%22SESSION_TRANSACTED%22-tf4849348s2354.html#a13874866
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message