Hi
I've created small app which receives messages and answers in temprary
queue.This temprary queue set client in JMSReplyTo. In case if client
disconnect then TQ become unavailable but I can't catch exception.
Could you help me? 

This is my root.

<endpoint id="in" uri="jmstx:topic:${jms.topic}" />

                <route id="main">
                        <from ref="in" />
                        <onException useOriginalMessage="false">
                                
<exception>org.apache.camel.RuntimeCamelException</exception>           
                                
<exception>*javax.jms.InvalidDestinationException*</exception>  
                        
<exception>*org.springframework.jms.InvalidDestinationException*</exception>
                                <redeliveryPolicy maximumRedeliveries="0" 
logHandled="false" />
                                <handled>
                                        <constant>true</constant>
                                </handled>
                                <process ref="invalidDestinationProcessor" />
                        </onException>                                          
                        
                   <bean ref="process" />
                </route>

--
View this message in context: 
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4578302p4578302.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to