Yes, you can use a Scheduled Route Policy [1] to schedule the activation and deactivation of your route. That, with a JMS consumer, should do the trick.
[1] https://camel.apache.org/scheduledroutepolicy.html *Raúl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Wed, Aug 26, 2015 at 11:18 AM, gilboy <[email protected]> wrote: > Hi > > I have a use case where I want to take messages from a DLQ and place them > back on to main/primary queue which feeds the application. I want to move > the messages every 10 seconds. I have looked at the delayer EIP but I would > prefer take them from the DLQ every 10 seconds rather than taking them as > they become available and storing them in memory. > > Is there any way I can get my JMSConsumer to look for messages every 10 > seconds > > Thanks > Joe > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Getting-JMSConsumer-to-look-for-messages-every-N-seconds-tp5770986.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
