The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

dwitherspoon (3) [Avatar] Offline
Question about section 3.2.1...

In the part on Transforming Using a Processor, the route starts with a quartz job running at 6:00. But that sounds like a very independent thing from a route.

Does the second part, the call to the web service, depend on the output from the quartz job? If so, how do we know that the cron job has finished before the web service call happens? Does Camel actually know that the job is going to run at 6:00?

Later in the book, it's mentioned that "the route starts at 6:00 in the morning". Is that really what is going on?
davsclaus (413) [Avatar] Offline
Re: Transformation Using a Processor...question
Yeah the quartz is just used as a timer to trigger the route to be "invoked" in the morning. That's all it does.

If you read the quartz component documentation at

You will see that quartz decorates the message with some headers that contain information when the message was triggered. Then you can know if it was done at about 6 in the morning.