dynamicRouter Thread safe issue

2010-12-14 Thread kaoru
Hi guys, from the dynamic-router webpage, there is an example: /** * Use this method to compute dynamic where we should route next. * * @param body the message body * @return endpoints to go, or null to indicate the end */ public String slip(String body) { bodies.add(body); invok

Re: dynamicRouter Thread safe issue

2010-12-15 Thread kaoru
Cool. That's great. Thank you for the reply. -- View this message in context: http://camel.465427.n5.nabble.com/dynamicRouter-Thread-safe-issue-tp3305007p3306748.html Sent from the Camel - Users mailing list archive at Nabble.com.

[Camel 2.4/2.5] 2 questions about RedeliveryPolicy tag

2011-02-11 Thread kaoru
Hi there, I have a redeliveryPolicy tag in my xml file: I tried to use placeholder for those properties, but it didn't recognize it no matter I use "{{}}", "${}" or "${properties:} So the 1st question: can I use place holder in redeliveryPolicy tag? Then I tried to create a r

Re: [Camel 2.4/2.5] 2 questions about RedeliveryPolicy tag

2011-02-11 Thread kaoru
Hi Claus, Thanks for your reply. But for my 2nd question, is it normal that there is a 'ref' attribute in xsd but we can't use it because there is no setter? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-2-5-2-questions-about-RedeliveryPolicy-tag-

Re: [Camel 2.4/2.5] 2 questions about RedeliveryPolicy tag

2011-02-14 Thread kaoru
Yes. I have a called myRedeliveryPolicy: But in redeliveryPolicy tag (inside errorHandler tag) I can't use 'ref': -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-2-5-2-questions-about-RedeliveryPolicy-tag-tp3381184p3384553.html Sent from the