BindyFixedLengthDataFormat does a trim on Fixed Length record, although Fixed Length recordare strictly positional in nature and may contain lot of fillers with empty spaces, doing a trim causes Bindy to fail the message length validation and exception is thrown on message length
// Read the line String line = scanner.nextLine().trim(); Should be changed to // Read the line String line = scanner.nextLine(); Or a conditional option should be provided in FixedLengthRecord annotation whether or not to trim the entire record -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-0-BindyFixedLengthDataFormat-does-a-trim-on-Fixed-Length-record-tp3348188p3348188.html Sent from the Camel - Users mailing list archive at Nabble.com.
