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
&
;>
>>>>
>>>> ------------------
>>>> This email is confidential to
per
>>> Public Library of Science
>>> http://www.plos.org
>>>
>>>
>>> --------
t trying to get some guidance as to the recommended
>>>>> practice.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --Tim
>>>>
>>>>
>>>> --
>>>> Dragisa Krsmanovic
>>>> Java Deve
;> Thanks.
>>>>
>>>> --Tim
>>>
>>>
>>> --
>>> Dragisa Krsmanovic
>>> Java Developer
>>> Public Library of Science
>>> http://www.plos.org
>>>
>>>
>>> ----------
>> 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
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
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
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.