I'm seeing a similar issue but don't understand the solution. How are we
supposed to use the StreamCacheConverter$SourceCache to pass data around.
Is there some API that will allow us to use this w/o having to add explicit
conversions between every Camel .to() route?
Why isn't Camel just using a StringSource already? Is this something that
needs to be configured somewhere?
Here is my example route...if I add the convertBodyTo(String.class), then I
end up with a SAXSource object...otherwise I get the
StreamCacheConverter$SourceCache which I don't know what to do with.
from("jbi:service:http://test/eda/mpPipeline")
.to("jbi:service:http://test/eda/messageDecoder?mep=in-out")
.convertBodyTo(String.class).to("jbi:service:http://test/eda/messagePersister?mep=in");
thanks
JIRA [email protected] wrote:
>
>
>
> Thanks for quick reply. String actually works!
>
>
--
View this message in context:
http://www.nabble.com/-jira--Created%3A-%28SM-1826%29-StreamCacheConverter-troubles-tp22561433p24175133.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.