[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 Claus Ibsen
Hi That is currently not possible from XML. I have created a ticket https://issues.apache.org/jira/browse/CAMEL-3658 On Fri, Feb 11, 2011 at 2:52 PM, kaoru wrote: > > Hi there, >  I have a redeliveryPolicy tag in my xml file: > > /> > deadLetterUri="swiftmq:badQueue" useOriginalMessage="true"

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-12 Thread Claus Ibsen
On Fri, Feb 11, 2011 at 5:36 PM, kaoru wrote: > > 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? > Yeah that's going to be fixed as well. > Thanks > -- > View this mes

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

2011-02-12 Thread Claus Ibsen
On Fri, Feb 11, 2011 at 2:52 PM, kaoru wrote: > > Hi there, >  I have a redeliveryPolicy tag in my xml file: > > /> > deadLetterUri="swiftmq:badQueue" useOriginalMessage="true"> >                                          retryAttemptedLogLevel="WARN" >                              retriesExhaust

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

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

2011-02-14 Thread Claus Ibsen
On Mon, Feb 14, 2011 at 3:43 PM, kaoru wrote: > > Yes. > I have a called myRedeliveryPolicy: >          class="org.apache.camel.processor.RedeliveryPolicy" >          p:redeliveryDelay="${mms.redelivery.delay}" >          ... >            /> > > But in redeliveryPolicy tag (inside errorHandler t