I think there is a simpler solution. Use the Apache ActiveMQ schedule delivery option [1].
[1] http://activemq.apache.org/delay-and-schedule-message-delivery.html Best, Christian ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Tue, Jul 30, 2013 at 7:57 AM, shin938 <shalom...@gmail.com> wrote: > I have a simple route spring DSL ,activemq queue. I want to consume > messages > that are 2 minutes old and more. what would be my best approach? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-consume-messages-by-timestamp-tp5736463.html > Sent from the Camel - Users mailing list archive at Nabble.com. >