Exchange - getIn and getOut with expected type parameter
--------------------------------------------------------
Key: CAMEL-1952
URL: https://issues.apache.org/activemq/browse/CAMEL-1952
Project: Apache Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.0.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Trivial
Fix For: 2.1.0
It would be nice with a getIn(type) method so you can avoid ugly type cast and
let Camel do type casting instead.
{code}
CxfMessage cxf = exchange.getIn(CxfMessage.class);
{code}
And the same for a getOut as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.