camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilboy <josephoto...@gmail.com>
Subject Re: Getting JMSConsumer to look for messages every N seconds
Date Wed, 26 Aug 2015 22:19:22 GMT
Thanks for the feedback. So just to confirm if I have the following route and
I want to consume a message every 30 seconds would I inject in to the route
a RoutePolicy(e.g. SimpleScheduledRoutePolicy) where I specify the
routeStartRepeatInterval(30 seconds). I feel like I am missing something.
What shuts down the route etc

from("jms:endpointDetails")
   .routeId("test")
   .routePolicy(policy)
   .to("mock:success");

Thanks
Joe



--
View this message in context: http://camel.465427.n5.nabble.com/Getting-JMSConsumer-to-look-for-messages-every-N-seconds-tp5770986p5770997.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message