You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/12/22 07:01:52 UTC
[jira] Assigned: (CAMEL-2304) Default Values for Headers and
Properties
[ https://issues.apache.org/activemq/browse/CAMEL-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2304:
----------------------------------
Assignee: Claus Ibsen
> Default Values for Headers and Properties
> -----------------------------------------
>
> Key: CAMEL-2304
> URL: https://issues.apache.org/activemq/browse/CAMEL-2304
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.1.0
> Reporter: Fernando Ribeiro
> Assignee: Claus Ibsen
>
> Like their similars in JBoss ESB, for example, the following methods could take a second or third argument with default values to be returned when the header or property doesn't exist:
> Exchange.getProperty
> Message.getHeader
> It would make 1) getting the property, 2) checking if it is null and 3) setting it to the default value a single step.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.