Re: Cron job removed from quartz scheduler by DefaultCamelContext

2012-02-14 Thread honghebox
Thanks a lot for the response! The scheduler is partially working now -- 1. Camel keep running all the time, scheduler NOT forced to shut down because of Camel routes stopped. 2. Scheduler started and did add the job using the trigger -- see below logging output But the job never get invoked, loo

Cron job removed from quartz scheduler by DefaultCamelContext

2012-02-10 Thread honghebox
My route builder has a route starts with a cron job that executes every 5 minutes, but it never get kicked off by quartz scheduler and from the log file, seems the job is removed because of routes shut down by the camel context, here is what I did: *1. the way I run camel in standalone mode:* java

Re: help with log DSL

2012-01-26 Thread honghebox
No, without quotations around ${body}, you code even won't compile. -- View this message in context: http://camel.465427.n5.nabble.com/help-with-log-DSL-tp5433969p5433989.html Sent from the Camel - Users mailing list archive at Nabble.com.

help with log DSL

2012-01-26 Thread honghebox
I'm trying to log message body using something like: from ("jms:mytestqueue"). setBody().simple("Say Hello"). .log(LoggingLevel.DEBUG, "Message body: ${body}") .. In my log file, instead of seeing "Message body: Say Hello" I got "Message body: ${body}", any extra confi