You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ceclabaugh <ce...@gmail.com> on 2012/07/09 23:16:03 UTC

Suspending Quartz/Timer Components

Hi all,

My goal is to send a message to a tibrv endpoint (already have the custom
component) every /x/ milliseconds, if and only if I receive a response back.
If I do not receive a response in /y/ milliseconds, I want to send out an
email alert but continue listening to the endpoint for a response. Once a
response has been given, I want to do basic checks on the data and start
sending/timing again.

In a nutshell, a message will be sent *no less than*, but perhaps more than,
every /x/ milliseconds for /z/ minutes.

 As I understand it, both the Timer and Quartz components are capable of
controlling frequency and duration, but would either be useful for what I am
doing? If so, how?

I can't really use a stop or suspend because I want the duration timer to
keep going. It is the case that the duration is set, but the frequency can
fluctuate.

Thanks for your help,
-ceclabaugh

--
View this message in context: http://camel.465427.n5.nabble.com/Suspending-Quartz-Timer-Components-tp5715780.html
Sent from the Camel - Users mailing list archive at Nabble.com.