Hi. How can i save a message in my special endpoint only, and not save this message in ActiveMQ.DLQ ?
my route <route errorHandlerRef="deadLetterErrorHandlerNull"> <from uri="activemq:queue:inA"/> <process ref="exceptionProcessor"/> <!-- throw new Exception("new Exception") --> <to uri="activemq:queue:outA"/> </route> with <bean id="deadLetterErrorHandlerNull" class="org.apache.camel.builder.DeadLetterChannelBuilder"> <property name="redeliveryPolicy" ref="redeliveryPolicyConfigNull"/> <property name="defaultDeadLetterEndpointUri" value="file://c:/Temp/amqtest/out/log"/> </bean> <bean id="redeliveryPolicyConfigNull" class="org.apache.camel.processor.RedeliveryPolicy"> <property name="maximumRedeliveries" value="0"/> <property name="delay" value="0"/> </bean> in this configuration, i get my message (from "activemq:queue:inA") and in "file://c:/Temp/amqtest/out/log", and in ActiveMQ.DLQ... of couse, i can create another route from ActiveMQ.DLQ to log, but it is no fine Thanks, Evgeny -- View this message in context: http://www.nabble.com/ActiveMQ-DLQ-tp22076570s22882p22076570.html Sent from the Camel - Users mailing list archive at Nabble.com.