camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6659) Validate that onException,onCompletion etc must be configured at top-level in the rotues
Date Thu, 22 Aug 2013 07:14:51 GMT
Claus Ibsen created CAMEL-6659:
----------------------------------

             Summary: Validate that onException,onCompletion etc must be configured at top-level
in the rotues
                 Key: CAMEL-6659
                 URL: https://issues.apache.org/jira/browse/CAMEL-6659
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.12.0


Some EIPs must be configured at top-level like onException, transacted, interceptors, on completion,
etc.

Though in the XML DSL and Java DSL there is "holes" so you may configure them in nested EIPs
eg inside a splitter etc.

We should validate that this is not allowed.

In Camel 3.0 the DSL API can be changed to ensure the configuration can only happen at top-level.
But in 2.x we would need to keep the DSL API stable and instead validate if mis-configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message