Weird, but call a processor with Thread.sleep() in the process method?

Out of curiosity, why would you want to introduce this delay? I would just
build the delay into the start of the route using quartz component:
http://camel.apache.org/quartz.html



*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39*


On Thu, Oct 3, 2013 at 9:56 AM, prgtrdr <b...@hartsandco.com> wrote:

> I'm thinking that perhaps I could read the topic with the polling pattern,
> and when it returns null, end the route then schedule a new iteration of
> the
> route.  Would this work?  Can it be done from XML? I can't find an example
> of using polling from XML.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Simulating-a-periodic-producer-tp5740783p5740821.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to