camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-2914) ProcessorDefinition aware Policy
Date Wed, 07 Jul 2010 04:29:52 GMT


Claus Ibsen commented on CAMEL-2914:

Damn we are still debating a solution on the mailing list. 

So please *don't* be so jumpy and apply patches so fast. I am not convinced this is the best
solution right now.
Using policy to hack into the model is not the way to go.

Please discuss the proposal of a new SPI allowing to register a custom hook which can listen
and react when the runtime processor model is created.
Then you can register the hook without using Policy or _polluting_ the routes.

> ProcessorDefinition aware Policy
> --------------------------------
>                 Key: CAMEL-2914
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Mark Proctor
>            Assignee: Hadrian Zbarcea
>             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:

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

View raw message