Hi i am using Camel Transactional routes like:

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>

        <onException>
           <exception>com.esq.org.exceptionbase.#mycustomexception#</exception>
           <to uri="activemq:STATUSQ"/>
        </onException>

          
        <route id = "XYZAction">
          <from uri="activemq:XYZQ"/>
          <to uri="XYZprocessor"/>
        </route>
        
</camelContext>

I have defined transactional camel route and using a custom processor for
messages on a queue, I want to redirect message to another queue if some
exception occur during processing. For this i m using
<onException></onException> clause. 

But the problem is that, on exception after redelivery attempts elapsed the
message is getting forward to DLQ not to the STATUSQ.






--
View this message in context: 
http://camel.465427.n5.nabble.com/OnException-problem-tp4634025p4634025.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to