git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Camel Tracer broken when redelivery set


There appears to be a regression between Camel 2.19.5 and Camel 2.20.1
where if maximumRedeliveries is set, nothing is traced.

<camelContext xmlns="http://activemq.apache.org/camel/schema/spring";
trace="true" errorHandlerRef="errorHandler">
<errorHandler id="errorHandler" type="DefaultErrorHandler"
redeliveryPolicyRef="redeliveryPolicy" />
</camelContext>

<bean id="redeliveryPolicy" class="org.apache.camel.processor.RedeliveryPolicy">
<property name="maximumRedeliveries" value="3" />
</bean>

If you change the maximumRedeliveries to 0, tracing works again.

Is there a possible workaround for this?

Thanks