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