AggregationStrategy - Allow to access original Exchange in the parameter list
-----------------------------------------------------------------------------
Key: CAMEL-3671
URL: https://issues.apache.org/jira/browse/CAMEL-3671
Project: Camel
Issue Type: New Feature
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.0.0
Where we use {{AggregationStrategy}} we should allow a more bean like approach
where bean parameter binding is being used.
Also we should allow end user to bind a parameter with the original exchange so
they can grab information from it.
We need some sort of @Qualifier to define the scope.
{code}
public void myAggregate(@Header(value = "username", qualifier = Original)
String username, @Body(qualifier = Old) String oldBody, @Body(quailifer = New)
String newBody);
...
{code}
The API is not set. Also the qualifier could be named scope or something. And
the last two parameters could have convention over configuration, 1st = old,
2nd = new.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira