[ 
https://issues.apache.org/jira/browse/CAMEL-6291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667351#comment-13667351
 ] 

Vitalii Tymchyshyn commented on CAMEL-6291:
-------------------------------------------

http://camel.apache.org/configuring-camel.html says: "Reusable routes
The routes defined in <routeContext/> can be reused by multiple 
<camelContext/>."
So, this is a bug in documented feature. If you think, it's an enhancement, the 
page should be corrected.
                
> <routeContext> can't be reused in multiple contexts when propertly 
> placeholder resolution is used
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6291
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6291
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: Vitalii Tymchyshyn
>             Fix For: Future
>
>
> Currently <routeContext> is a list of RouteDefinitions with 
> ProcessorDefinitions inside. 
> When ProcessorDefinition is asked  to makeProcessor, it calls 
> resolvePropertyPlaceHolder that replaces any placeholder with current 
> routeContext data. This makes it impossible to futher use such 
> ProcessorDefinition with any other routeContext with different placeholder 
> resolution data.

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