AdviceWith - Should not allow using error handlers as its not supported
-----------------------------------------------------------------------

                 Key: CAMEL-3665
                 URL: https://issues.apache.org/jira/browse/CAMEL-3665
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.6.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.7.0


using error handlers with adviveWith should not be allowed
{code}
            route.adviceWith(context, new AdviceWithRouteBuilder() {
                @Override
                public void configure() throws Exception {
                    errorHandler(deadLetterChannel("mock:dead"));
                }
            });
{code}

Camel should fail with an exception and state that its not supported

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to