provide a feature to get the destination name in case of error
--------------------------------------------------------------

                 Key: CAMEL-699
                 URL: https://issues.apache.org/activemq/browse/CAMEL-699
             Project: Apache Camel
          Issue Type: New Feature
            Reporter: pratibha


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"; there 
should a way to know  which service was down, either 
"service:http://servicemix.in2m.com/samples/http/MyProviderService1"; or 
"service:http://servicemix.in2m.com/samples/http/MyProviderService2";?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to