[ 
https://issues.apache.org/jira/browse/CAMEL-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-6659.
--------------------------------

    Resolution: Fixed
    
> 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

Reply via email to