Re: Unmarshal fixed length Binary data

2016-09-15 Thread DariusX
You write a class need to implement the DataFormat interface. The two key calls are: marshal() and unmarshal() See here: http://camel.apache.org/data-format.html Looking at the code for some of the existing implementations of DataFormat should give you some ideas. For instance, you might come up w

Re: Unmarshal fixed length Binary data

2016-09-15 Thread kaustubhkane
Could someone please guide me on creating a custom DataFormat. Please refer to details in my previous post above. -- View this message in context: http://camel.465427.n5.nabble.com/Unmarshal-fixed-length-Binary-data-tp5787125p5787592.html Sent from the Camel - Users mailing list archive at Na

Re: Unmarshal fixed length Binary data

2016-09-09 Thread kaustubhkane
Hello, I will need to write my own DataFormat. I am trying to understand what all will be needed. Can I re-use anything within existing DataFormats functionality which Camel provide. Following are the main areas to be covered for the new DataFormat. 1) Marshal and unmarshal the binary data from te

Re: Unmarshal fixed length Binary data

2016-09-08 Thread Quinn Stevenson
If BeanIO doesn’t work out, you can always write your own DataFormat - I’ve had to do that a few times, and it’s pretty straightforward. http://camel.apache.org/custom-dataformat.html > On Sep 7, 2016, at 8:15 AM, kaustubhkane wrote: > > Thanks

Re: Unmarshal fixed length Binary data

2016-09-07 Thread kaustubhkane
Thanks for all your responses. I am looking at the BeanIO data format and will get back on this in a day or two. -- View this message in context: http://camel.465427.n5.nabble.com/Unmarshal-fixed-length-Binary-data-tp5787125p5787306.html Sent from the Camel - Users mailing list archive at Nabbl

Re: Unmarshal fixed length Binary data

2016-09-04 Thread Vitalii Tymchyshyn
Unfortunatelly beanio do not support binary. It may work if your binary is a valud UTF-8 (or othet charset) though. E.g. we are parsing copybook with it. Пт, 2 вер. 2016 10:55 користувач Brad Johnson пише: > I second Beanio. I've used it for fixed length multi-line records and it is > fabulous.

Re: Unmarshal fixed length Binary data

2016-09-02 Thread Brad Johnson
I second Beanio. I've used it for fixed length multi-line records and it is fabulous. On Fri, Sep 2, 2016 at 9:28 AM, Quinn Stevenson wrote: > Have you looked at the BeanIO DataFormat? (http://camel.apache.org/ > beanio.html ) > > > On Sep 2, 2016, at 7:35 AM

Re: Unmarshal fixed length Binary data

2016-09-02 Thread Quinn Stevenson
Have you looked at the BeanIO DataFormat? (http://camel.apache.org/beanio.html ) > On Sep 2, 2016, at 7:35 AM, kaustubhkane wrote: > > Hi, > > We have a fixed length Binary data. > > I am looking at the Bindy Data Format and found that it supports > unmars