Hi
I faced a problem, when I use this spring-camel context I got error about
type conversion from String to Long, related to second {{retryCount}}. When
I start debugging I realised that BaseTypeConverterRegistry#convertTo method
got retryCount value (let say 10) in the first occurence and value
"{{retryCount}}" in the second case (delayer component), so I don't know
why.
My Spring Camel context:
<propertyPlaceholder location="classpath:camel.properties" id="properties"
/>
<route id="mojorun">
<from uri="timer://runOnce?delay=0&repeatCount=1" />
<loop>
<spring:constant>{{retryCount}}</spring:constant>
<spring:inOnly uri="bean:mojo?method=shout"/>
<spring:delay>
<spring:constant>{{retryCount}}</spring:constant>
</spring:delay>
</loop>
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/failed-to-set-property-into-Delayer-tp5746991.html
Sent from the Camel - Users mailing list archive at Nabble.com.