Hi I think you can use Java Code to start and stop the consumer.
I am curious as well so I might hack together a sample tonight. Otherwise the JMX console could be an easy test as well as you can invoke the start and stop command from it. Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: raulvk [mailto:[EMAIL PROTECTED] Sent: 20. oktober 2008 14:42 To: [email protected] Subject: Re: Wait for condition It occurs to me that perhaps you could look into using JMX to switch on and switch off the processing. Not very sure how you could go about it though, just my 2 cents. 2008/10/20 Ovidius <[EMAIL PROTECTED]> > > Hi , > > I was a little evasive. I describe here the entire situation: > > I Receive several messages in an endpoint. At some moment i have to > suspend processing of messages (I do not know for how long so I can not use > a delay which have to a specific duration) until it fulfills an external > condition. When this condition fulfills i need to resume the processing of > messages. During the message processing is suspended other messages can > arrive in the endpoind. > > Best Regards, > Ovidiu. > -- > View this message in context: > http://www.nabble.com/Wait-for-condition-tp20064420s22882p20067465.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >
