Hi Does this condition only apply for certain exchanges? While others continuously should be processed normally?
For instance you can consume from the seda, test for the condition, if it should "wait" move the exchange to a different seda queue. Then all the other exchanges that "should not wait" can continue being processed normally. Then on the other seda queue you can poll it when the "condition" is true. Otherwise you can also just poll from the seda queue when the "condition" is true. You can use the Java API to pool it. http://activemq.apache.org/camel/polling-consumer.html Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: cmoulliard [mailto:[EMAIL PROTECTED] Sent: 20. oktober 2008 12:30 To: [email protected] Subject: Re: Wait for condition Hi Ovidiu, Have you had a look to the "delayer pattern" - http://activemq.apache.org/camel/delayer.html which allows you to delay the delivery of messages to some destination ? KR, Charles Moulliard Ovidius wrote: > > Hi, > > I need a solution for the following problem: I have an endpoint (Seda), > which receives messages. In certain conditions have to wait an event > before process incoming messages. > > What is the best solution? > > Regards, > Ovidiu. > ----- Enterprise Architect Xpectis 12, route d'Esch L-1470 Luxembourg Phone +352 25 10 70 470 Mobile +352 621 45 36 22 e-mail : [EMAIL PROTECTED] web site : www.xpectis.com www.xpectis.com My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/Wait-for-condition-tp20064420s22882p20066849.html Sent from the Camel - Users mailing list archive at Nabble.com.
