I have configuration like this:
exception(java.lang.Throwable.class)
    
.to("jbi:service:http://servicemix.in2m.com/samples/http/bean3Service?mep=in-out";)
    
.to("jbi:service:http://servicemix.in2m.com/samples/http/bean2Service?mep=in-out";);

    
from("jbi:service:http://servicemix.in2m.com/samples/http/httpConsumer";)
        .to("validator:updatepassword.xsd")  
           
.to("jbi:service:http://servicemix.in2m.com/samples/http/jmsProviderService?mep=in-only";)
           
.to("jbi:service:http://servicemix.in2m.com/samples/http/bean2Service";);
        
        from("jbi:service:http://servicemix.in2m.com/samples/http/jmsConsumer";)
        
.to("jbi:service:http://servicemix.in2m.com/samples/http/MyProviderService1?mep=in-out";)
       
.to("jbi:service:http://servicemix.in2m.com/samples/http/MyProviderService2?mep=in-out";);

When I send a message to
"http://servicemix.in2m.com/samples/http/MyProviderService1"; or
"http://servicemix.in2m.com/samples/http/MyProviderService2"; it may send
Connection Exception and the message moves to
"service:http://servicemix.in2m.com/samples/http/bean3Service";.

Now in "service:http://servicemix.in2m.com/samples/http/bean3Service"; how
would I know that which service was down, either
"service:http://servicemix.in2m.com/samples/http/MyProviderService1"; or
"service:http://servicemix.in2m.com/samples/http/MyProviderService2";?

Please help. I am trying a lot but not getting a way to do this.

-Pratibha




-- 
View this message in context: 
http://www.nabble.com/How-to-catch-errors-locally-on-the-path-tp18397098s22882p18397098.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to