Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 47506 invoked from network); 7 Jul 2010 04:30:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 04:30:27 -0000 Received: (qmail 61194 invoked by uid 500); 7 Jul 2010 04:30:27 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 61062 invoked by uid 500); 7 Jul 2010 04:30:25 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 61054 invoked by uid 500); 7 Jul 2010 04:30:24 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 61051 invoked by uid 99); 7 Jul 2010 04:30:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 04:30:23 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 04:30:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o674Tqf3026442 for ; Wed, 7 Jul 2010 04:29:52 GMT Message-ID: <2036276.33991278476992178.JavaMail.jira@thor> Date: Wed, 7 Jul 2010 00:29:52 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2914) ProcessorDefinition aware Policy In-Reply-To: <11876237.33631278444652364.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60465#action_60465 ] 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: https://issues.apache.org/activemq/browse/CAMEL-2914 > 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: > 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.