I now tried the combination of both convertBodyTo() methods and it works. I
receive an ActiveMQTextMessage now.
This route works fine:
from("jbi:endpoint:http://eip.splitter.servicemix/camelRouter/endpoint")
.to("log:jms")
.convertBodyTo(DOMSource.class)
.convertBodyTo(String.class)
.to("activemq:queue:camel.train.plan.queue.neusiedlsee");
Thank you for your support
Best regards,
Robert
Gert Vanthienen wrote:
>
> Robert,
>
> Have you tried with the two convertBodyTo() statements as shown in the
> tutorial? I'm not sure Camel 1.2.0 (which is shipped with ServiceMix
> 3.2.1) support direct conversion from a JBI NormalizedMessage to String.
>
> Gert
>
>
--
View this message in context:
http://www.nabble.com/Camel-transports-in-ServiceMix-tp16222771s22882p16282904.html
Sent from the Camel - Users mailing list archive at Nabble.com.