Parent/child relationship should be fixed before wrapping custom interceptors 
from XML DSL
------------------------------------------------------------------------------------------

                 Key: CAMEL-4053
                 URL: https://issues.apache.org/jira/browse/CAMEL-4053
             Project: Camel
          Issue Type: Improvement
          Components: camel-spring
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0


When defining routes in XML DSL then the parent/child relationship of the 
nodes, is _compute_ a bit later than in Java DSL. The reason is the Java DSL 
use the fluent builders making this possible on-the-fly. The XML DSL is in the 
hands of JAXB and its not so easy.

However when people use custom InterceptStrategy they may want this 
parent/child information available at hand when the wrap method is invoked. And 
for XML DSL the parent/child is set afterwards. So we need to ensure this 
information is set beforehand.

With this we ensure CAMEL-4050 unit test works the same in both Java DSL and 
XML DSLs. (in fact any DSL)

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

Reply via email to