Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 45850 invoked from network); 17 Jun 2009 08:43:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 08:43:02 -0000 Received: (qmail 51884 invoked by uid 500); 17 Jun 2009 08:43:13 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 51818 invoked by uid 500); 17 Jun 2009 08:43:13 -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 51806 invoked by uid 500); 17 Jun 2009 08:43:13 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 51795 invoked by uid 99); 17 Jun 2009 08:43:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:43:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:42:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 148D6234C044 for ; Wed, 17 Jun 2009 01:42:37 -0700 (PDT) Message-ID: <95210478.1245228157067.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 01:42:37 -0700 (PDT) From: "Erwin Kroon (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-1702) Mirgrate Camel EIP decorated headers to properties In-Reply-To: <1012528174.1244809535299.JavaMail.jira@brutus> 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-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erwin Kroon updated CAMEL-1702: ------------------------------- Attachment: SplitterProperty.diff This is an patch for camel 1.6.x as discussed in http://www.nabble.com/Custom-AggregationStrategy-needs-specific-headers-td23996092.html > Mirgrate Camel EIP decorated headers to properties > -------------------------------------------------- > > Key: CAMEL-1702 > URL: https://issues.apache.org/activemq/browse/CAMEL-1702 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Fix For: 2.0.0 > > Attachments: SplitterProperty.diff > > > We should migrate various headers that Camel EIP add to exhanges from headers to properties. > Many of them more naturally fit as a property than a header. And we have good support in the DSL to retrieve the headers. > And in fact Camel does a fallback from header -> property so much end user code will not break. > Look at Exchange to see all the keys we have for headers. For example: > {code} > String AGGREGATED_INDEX = "CamelAggregatedIndex"; > String AGGREGATED_SIZE = "CamelAggregatedSize"; > String ASYNC_WAIT = "CamelAsyncWait"; > String BATCH_INDEX = "CamelBatchIndex"; > String BATCH_SIZE = "CamelBatchSize"; > String BATCH_COMPLETE = "CamelBatchComplete"; > String BEAN_METHOD_NAME = "CamelBeanMethodName"; > String BEAN_HOLDER = "CamelBeanHolder"; > String BEAN_MULTI_PARAMETER_ARRAY = "CamelBeanMultiParameterArray"; > String DATASET_INDEX = "CamelDataSetIndex"; > String EXCEPTION_CAUGHT = "CamelExceptionCaught"; > String EXCEPTION_HANDLED = "CamelExceptionHandled"; > String FAILURE_HANDLED = "CamelFailureHandled"; > String FILTERED = "CamelFiltered"; > String INTERCEPTED_ENDPOINT = "CamelInterceptedEndpoint"; > String LOG_DEBUG_BODY_MAX_CHARS = "CamelLogDebugBodyMaxChars"; > String LOOP_INDEX = "CamelLoopIndex"; > String LOOP_SIZE = "CamelLoopSize"; > String MULTICAST_INDEX = "CamelMulticastIndex"; > String ON_COMPLETION = "CamelOnCompletion"; > String ROUTE_STOP = "CamelRouteStop"; > String REDELIVERED = "CamelRedelivered"; > String REDELIVERY_COUNTER = "CamelRedeliveryCounter"; > String SPLIT_INDEX = "CamelSplitIndex"; > String SPLIT_SIZE = "CamelSplitSize"; > String TRANSACTED = "CamelTransacted"; > String ROLLBACK_ONLY = "CamelRollbackOnly"; > {code} > Most of this list should be stored as properties instead of headers. Some of them already do that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.