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 09:21:40 UTC

[jira] Resolved: (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 resolved CAMEL-2304.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

trunk: 893110.

> 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
>             Fix For: 2.2.0
>
>
> 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.