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

Hadrian Zbarcea commented on CAMEL-2914:
----------------------------------------

Patch applied with thanks to Mark: r961060.

I had to make a few changes for checkstyle and I changed the order of params in 
the swap method to be more like the existing Policy. Then I had to change a bit 
the test to change the ExpressionClause for the body to be reset.

> ProcessorDefinition aware Policy
> --------------------------------
>
>                 Key: CAMEL-2914
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2914
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Mark Proctor
>             Fix For: 2.4.0
>
>         Attachments: DefinitionAwarePolicy.diff
>
>
> Currently a Policy cannot change the child processor definitions, and the 
> processor instances are created prior to wrap being called. I would like to 
> see the child Processsor defintions passed to wrap, and the processor 
> instances created afterwards.
> As discussed in this mailing list post:
> http://camel.465427.n5.nabble.com/Using-Policy-to-alter-Definitions-before-building-tt696567.html#a696567

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to