camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikaelfj <mikae...@gmail.com>
Subject Bindy fixed length - length attribute and truncate
Date Mon, 20 Dec 2010 22:33:39 GMT

Hi,

We are using the bindy component to create fixed length value files, version
2.4.

My expectations were, that when defining the length of a field using the
@DataField annotation, then bindy would pad chars if my data was shorter
than the length (and it does) and that it would truncate my data if it was
longer than the defined length.

The latter does not seem to happen - and you will end up with a fixed length
record which is longer than what is defined in the @FixedLengthRecord
annotation.

Is this somehow by design or is it a bug in the Bindy component?

/Mikael
-- 
View this message in context: http://camel.465427.n5.nabble.com/Bindy-fixed-length-length-attribute-and-truncate-tp3312636p3312636.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message