You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/10/14 14:13:52 UTC

[jira] Created: (CAMEL-985) bean binding - annotation to get the exception from exchange

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
    Affects Versions: 1.4.0
            Reporter: Claus Ibsen
            Priority: Minor


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.


[jira] Updated: (CAMEL-985) bean binding - annotation to get the exception from exchange

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-985:
------------------------------

    Fix Version/s: 2.0.0
      Component/s: camel-spring

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


[jira] Commented: (CAMEL-985) bean binding - annotation to get the exception from exchange

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47554#action_47554 ] 

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

Will add wiki stuff next.

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


[jira] Assigned: (CAMEL-985) bean binding - annotation to get the exception from exchange

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey reassigned CAMEL-985:
-------------------------------------

    Assignee: Jonathan Anstey

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


[jira] Resolved: (CAMEL-985) bean binding - annotation to get the exception from exchange

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-985.
-----------------------------------

    Resolution: Fixed

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


[jira] Commented: (CAMEL-985) bean binding - annotation to get the exception from exchange

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ 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.