[
https://issues.apache.org/activemq/browse/CAMEL-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gert Vanthienen updated CAMEL-179:
----------------------------------
Attachment: CAMEL-179-v2.diff
Second attempt in attached CAMEL-179-v2.diff
The interceptor now uses Camel's type converter with a new interface instead of
a hard-coded conversion map.
I've added methods to RouteBuilder and RouteType to make it easier to use the
new interceptor, but if we still want to make it the default, I would like some
feedback on the asynchonous test cases going astray after implementing this --
can't seem to figure out what's going on there.
> Handling StreamSource when routing to multiple endpoints
> --------------------------------------------------------
>
> Key: CAMEL-179
> URL: https://issues.apache.org/activemq/browse/CAMEL-179
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.1.0
> Reporter: Gert Vanthienen
> Priority: Minor
> Attachments: CAMEL-179-v2.diff, CAMEL-179.diff
>
>
> If the original message in the example below contains a StreamSource, the
> second target in the to() will probably fail. Auto-converting it to e.g.
> DOMSource should fix this...
> {code}
> from("jbi:service:urn:servicemix:tutorial:wiretap")
> .to("jbi:endpoint:urn:servicemix:tutorial:jms:myQueue",
> "jbi:endpoint:urn:servicemix:tutorial:file:sender");
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.