Hi there, I have a redeliveryPolicy tag in my xml file: <propertyPlaceholder id="properties" location="properties/values.properties" /> <errorHandler id="errorHandler" type="DeadLetterChannel" deadLetterUri="swiftmq:badQueue" useOriginalMessage="true"> <redeliveryPolicy maximumRedeliveries="3" retryAttemptedLogLevel="WARN" retriesExhaustedLogLevel="ERROR" redeliveryDelay="2000"/> </errorHandler>
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 redeliveryPolicy bean as a workaround. but another issue came out: <redeliveryPolicy ref="myRedeliveryPolicy" /> It didn't understand the ref: Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'ref' of bean class [org.apache.camel.processor.RedeliveryPolicy]: Bean property 'ref' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? The 2nd question: why the ref attribute is in the xsd file but we can't use it? how can we use place-hoder for redeliveryPolicy? would you shed a light on this for me please Thank you, Qiao -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-2-5-2-questions-about-RedeliveryPolicy-tag-tp3381184p3381184.html Sent from the Camel - Users mailing list archive at Nabble.com.