[
https://issues.apache.org/activemq/browse/CAMEL-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-701.
-------------------------------
Resolution: Fixed
> BeanInvocation - Do not allow Exchange as the return type
> ---------------------------------------------------------
>
> Key: CAMEL-701
> URL: https://issues.apache.org/activemq/browse/CAMEL-701
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.4.0
>
>
> Currently if you have a bean invocation configure that is something like this
> {code}
> public Exchange doSomething(Exchange exchange) {
> ..
> return exchange;
> }
> {code}
> Then Camel will set the exchange on the exchange out body. This should not be
> allowed.
> Wiki documentation is updated about this, but the code does not check for
> such condition.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.