activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From melu <>
Subject Apache Camel - Delayer Patthern with ActiveMQ JMS
Date Wed, 16 Jan 2008 12:14:03 GMT


I want to applay "delayer pattern". To practice I work with Apache Camel 
"camel-example-spring"  example. 

I added "delayer(header("JMSTimestamp"), 30000)" to
"from("jms:test.MyQueue").to("file://target/test?noop=true");" line so it
looks like this:


OK, yes it wokrs, but I have a question: 
Suppose ActiveMQ queue persistance is set to true. Is the message from queue
peeked and then Apache Camel waits 3 seconds and then it sends the message
to the target? Or is it done in other way? 
The real question is: What will happen when someting wrong happen between
peeking a message form queue and delivering it to the target? Will message
be lost?

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

View raw message