camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-985) bean binding - annotation to get the exception from exchange
Date Fri, 21 Nov 2008 13:33:05 GMT

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

Jonathan Anstey commented on CAMEL-985:
---------------------------------------

Adding         camel-core/src/main/java/org/apache/camel/ExchangeException.java
Sending        camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
Sending        camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java
Adding         camel-core/src/test/java/org/apache/camel/component/bean/BeanWithExchangeExceptionAnnotationTest.java
Adding         camel-core/src/test/java/org/apache/camel/component/bean/MyCustomException.java
Transmitting file data .....
Committed revision 719574.


> bean binding - annotation to get the exception from exchange
> ------------------------------------------------------------
>
>                 Key: CAMEL-985
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-985
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If you are doing error handling using POJO beans to do some error handling code and using
bean binding annoations to get the stuff from the exchange, we are missing an annotation to
get the caused exception
> Such as a @Exception or @Fault if that is a better name
> See nabble:
> http://www.nabble.com/Error-Handler-and-OutHeaders-td19970966s22882.html
> jstrachan using @Exception or @Fault or whatever on a bean method call to pull out the
Exchange's fault/exception right? 
> 14:02 jstrachan if so definitely! 

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