@ExchangeException should support desired exception type denoted by parameter 
type
----------------------------------------------------------------------------------

                 Key: CAMEL-1626
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1626
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.0.0


For instance
{code}
        public void handleException(Exchange exchange, @ExchangeException 
MyCustomException custom) {
{code}

Where we have stated that @ExchangeException expects a MyCustomException to be 
mapped.
Currently that did not work, you had to define the type as Exception.





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