I'm using Camel2 in SMX 3.3.1.  I have a simple Camel route as follows...

from("activemq:inboundMessages?maxConcurrentConsumers=50")
.process(new Processor1())
.process(new Processor2())
.to("activemq:finishedQueue");

How do I guarentee that a message will not be removed from the
"inboundMessages" queue until it reaches the "finishedQueue"?  I need to
make sure that messages are not lost in the event of a server crash/restart,
etc.  Currently, this process is loosing messages if I restart the server
midway through a load test.

Do I have to use a transactional client approach (if so, how exactly)?  I
tried this briefly but haven't been able to get it to work.  Is there
another option like using the JMS acknowledgement mode or something?

thanks

-----
Ben - Senior Consultant

-- 
View this message in context: 
http://old.nabble.com/guaranteed-message-processing-question...-tp26202573p26202573.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to