Ahhh

one more thing.

Although I have set:

    <bean id="redeliveryPolicy"
class="org.apache.activemq.RedeliveryPolicy">
        <property name="maximumRedeliveries" value="0"/>
        <property name="initialRedeliveryDelay" value="0"/>
        <property name="useExponentialBackOff" value="false"/>
    </bean>

for AMQ [5.3.2] and:
errorHandler(deadLetterChannel("activemq:ActiveMQ.DLQ").maximumRedeliveries(0).redeliveryDelay(1).maximumRedeliveryDelay(1))
from("activemq:ActiveMQ.DLQ?recoveryInterval=1&exchangePattern=OutOnly").delay().expression(bean(DelayerBean.class,
"sendAtTime")).asyncDelayed().to("activemq:testQueue?recoveryInterval=1")

I still get some delays when message is routed to testQueue and listener
rollsback the transaction.
I hoped that the rolledback message would immediately go to the ActiveMQ.DLQ
but it seems it is delayed.


-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-reply-to-a-message-routed-by-camel-tp3254431p3256000.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to