camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erwin Kroon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1702) Mirgrate Camel EIP decorated headers to properties
Date Wed, 17 Jun 2009 08:42:37 GMT

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


Mime
View raw message