Hi,
Use the camel file component instead of the log component.
Instead of .to("log:tutorial-string") try .to("file:target/report.txt").
Take your time to read the Camel documentation
http://activemq.apache.org/camel/file.html
skg wrote:
>
> Hi,
> I worked on the example as u suggested and got the ouput as well but i
> want the output in some text file or some object so what do i need to
> replace in this line of code.
> from("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jms:consumer").to("log:tutorial-jbi").convertBodyTo(DOMSource.class).to("log:tutorial-domsource").convertBodyTo(String.class).to("log:tutorial-string");
>
--
View this message in context:
http://www.nabble.com/JMS-with-Service-Mix-tp18005740p18028520.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.