camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-699) provide a feature to get the destination name in case of error
Date Mon, 14 Jul 2008 14:46:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44276#action_44276
] 

Claus Ibsen commented on CAMEL-699:
-----------------------------------

The meaning with this is something we have a few tickets for already.

A kinda ExchangeContext where end-users and the camel framework itself can get hold on current
execution route and other meta data information.
We need it in particular for encoding configuration so type converters etc. can get what to
use for byte encodings.

Also the tracer logger should use this to get the "from" route so it can write:
from XXX -> process YYY
process YYY -> to(activemq:orders)
etc.

> 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.


Mime
View raw message