Hi I suggest to check the beanio documentation if you can configure the line feed to use. Maybe there is unix vs windows style you can set etc. Or a way to configure it.
Looking in the source code of camel-beanio does not indicate we use a fixed line feed or anything. See the org.apache.camel.dataformat.beanio.BeanIODataFormat On Fri, Oct 18, 2013 at 9:31 PM, nanotech <[email protected]> wrote: > I am using BeanIO (fixedlength format ) and Camel.. > > As a POC, I am trying to write the data from Java object to a file using a > route. > > Everything works fine but it puts an extra line separator (LS) at the end of > record. > > Is there a way to suppress this behavior ? > > Here is how the Route looks like. > from("direct:marshal") > .marshal(format) > .to("file://output?fileName=output.txt"); > > > Thanks, > RG > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Getting-rid-of-line-separator-BeanIO-Camel-tp5741859.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
