Re: Best Practices for Triggering Routes from Code

2009-12-04 Thread rgavlin
It felt a bit like this was mainly for testing, but I don't see other >>>>>> methods used in the examples (or for that matter, I don't recall >>>>>> seeing >>>>>> ProducerTemplate in non-test code, though I haven't searched too &

Re: Best Practices for Triggering Routes from Code

2009-12-03 Thread Claus Ibsen
;> >>>> >>>> ------------------ >>>> This email is confidential to

Re: Best Practices for Triggering Routes from Code

2009-12-03 Thread rgavlin
per >>> Public Library of Science >>> http://www.plos.org >>> >>> >>> --------

Re: Best Practices for Triggering Routes from Code

2009-12-03 Thread Claus Ibsen
t trying to get some guidance as to the recommended >>>>> practice. >>>>> >>>>> Thanks. >>>>> >>>>> --Tim >>>> >>>> >>>> -- >>>> Dragisa Krsmanovic >>>> Java Deve

Re: Best Practices for Triggering Routes from Code

2009-12-03 Thread Tim McNerney
;> Thanks. >>>> >>>> --Tim >>> >>> >>> -- >>> Dragisa Krsmanovic >>> Java Developer >>> Public Library of Science >>> http://www.plos.org >>> >>> >>> ----------

Re: Best Practices for Triggering Routes from Code

2009-12-02 Thread Claus Ibsen
>> This email is confidential to the intended recipient. If you have received >> it in error, please notify the sender and delete it from your system. Any >> unauthorized use, disclosure or

Re: Best Practices for Triggering Routes from Code

2009-12-02 Thread mumbly
er and delete it from your system. Any > unauthorized use, disclosure or copying is not permitted. The views or > opinions presented are solely those of the sender and do not necessarily > represent those of Public Library of Science unless otherwise specifically > stated. Please n

Re: Best Practices for Triggering Routes from Code

2009-12-02 Thread Dragisa Krsmanovic
It depends what you mean by 'triggering'. If you want to automatically send a message to a queue at specific intervals you can use Quartz component. For example, to send a "Hello World" message every 3 minutes: from("quartz://myCron?cron=0+0/3+*+*+*+?") .setBody(constant("Hello World")) .to(de

Best Practices for Triggering Routes from Code

2009-12-02 Thread mumbly
t: http://old.nabble.com/Best-Practices-for-Triggering-Routes-from-Code-tp26617252p26617252.html Sent from the Camel - Users mailing list archive at Nabble.com.