Use the content enricher eip and append the new line to the message
before sending to the stream endpoint.

On Mon, Oct 28, 2013 at 2:53 PM, Robert James Liguori
<glies...@yahoo.com> wrote:
> How would one add a newline for each message being sent through this route?
>
>
> <route >
>   <from uri="activemq:topic:TOPIC1"/>
>   <to uri="stream:file?fileName=/tmp/data1.txt"/>
> </route>
>
> Thanks,
> Robert



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to