I configured a DeadLetterErrorHandler like that: <beans:bean id="wecaDeadLetterErrorHandler" class="org.apache.camel.builder.DeadLetterChannelBuilder"> <beans:property name="deadLetterUri" value="activemq:queue:wecaDLQ"/> <beans:property name="redeliveryPolicy" ref="wecaRedeliveryPolicyConfig"/> <beans:property name="useOriginalMessage" value="true"/> </beans:bean>
<beans:bean id="wecaRedeliveryPolicyConfig" class="org.apache.camel.processor.RedeliveryPolicy"> <beans:property name="maximumRedeliveries" value="${weca.camel.redeliveryAttempts}"/> <beans:property name="redeliveryDelay" value="5000"/> <beans:property name="useExponentialBackOff" value="true"/> </beans:bean> and referenced it in my routes : <camelContext id="OfficeRouterContext" trace="${camel.context.trace}" depends-on="activemq,officeBundleActivator" errorHandlerRef="DeadLetterErrorHandler"> the redeliveries work, but the DLQ is not created, or at least I can't see it anywhere. I check in activemq web console where i usually see all queues including ActiveMQ.DLQ, I tried activemq:queue:wecaDLQ and jms:queue:wecaDLQ but I can't see it anywhere. and the Messages Enqueued count and Messages Dequeued count on activemq web console increase by one. any idea? Thank you -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterErrorHandler-queue-not-created-tp5735624.html Sent from the Camel - Users mailing list archive at Nabble.com.