-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
fuse-7.11.1-GA
-
None
-
False
-
-
False
-
-
Todo
-
-
-
Very Likely
-
Customer Facing
For an input to camel-bindy that is left-aligned, e.g.:
$ hexdump test.txt
0000000 4554 5453 2020 2020 2020 000a
Camel-bindy does not trim the value like it did in Fuse 6.x. Instead, an attribute must be added (align = "B" or align = "L"):
@FixedLengthRecord(length=10, paddingChar=' ') public class MyRecord { @DataField(pos = 1, length=10, trim = true, align = "B") private String myData; public String getMyData() { return myData; } }
This breaks backwards compatibility for a migration from Fuse 6.2 to Fuse 7.11.