camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <aka...@fusesource.com>
Subject Re: Camel 2.4.0 BindyFixedLengthDataFormat does a trim on Fixed Length record
Date Thu, 20 Jan 2011 18:22:17 GMT

Hi,

I have just committed a fix for this issue to the camel trunk.

Can you please check out this fix. I have added an option to the
FixedLengthRecord annotation called trimRecordOnUnmarshal which takes a
boolean with default set to true so that existing users are not impacted. In
your case you need to set this annotation to false. A unit test for this fix
is available at

https://svn.apache.org/viewvc/camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/unmarshall/simple/notrim/BindySimpleFixedLengthNoTrimUnmarshallTest.java?view=markup
https://svn.apache.org/viewvc/camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/unmarshall/simple/notrim/BindySimpleFixedLengthNoTrimUnmarshallTest.java?view=markup


Please check it out.

Cheers,

Ashwin...


-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-0-BindyFixedLengthDataFormat-does-a-trim-on-Fixed-Length-record-tp3348188p3350109.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message