Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.0, 2.7.0
-
None
Description
When Camel uses beans in routes, the type convert system will check if the payload is a bean invocation (used by proxy and whatnot).
The JAXB fallback converter should not support this as it will lead to unnecessary attempts to convert payloads to JAXB as part of the bean invocation. And that may lead to issue if JAXB cannot do this due no ObjectFactory and whatnot.
So even if users are routing to beans and have a signature as follows
public void doSomething(Exchange exchange) {
...
}
The end user would not expect any type converter attempt for his JAXB payload, as the parameter type is Exchange.
Attachments
Issue Links
- is related to
-
CAMEL-3916 BeanProcessor - Do not attempt to convert to BeanInvocation as its unnessasary
- Resolved