You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ashwin Karpe (JIRA)" <ji...@apache.org> on 2011/01/20 19:17:44 UTC
[jira] Resolved: (CAMEL-3562) BindyFixedLengthDataFormat does a
trim on Fixed Length record
[ https://issues.apache.org/jira/browse/CAMEL-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashwin Karpe resolved CAMEL-3562.
---------------------------------
Resolution: Fixed
Committed patch to trunk under revisions r1061411, r1061413, r1061420, r1061425, r1061426.
> BindyFixedLengthDataFormat does a trim on Fixed Length record
> -------------------------------------------------------------
>
> Key: CAMEL-3562
> URL: https://issues.apache.org/jira/browse/CAMEL-3562
> Project: Camel
> Issue Type: Improvement
> Components: camel-bindy
> Affects Versions: 2.4.0
> Reporter: Ashwin Karpe
> Assignee: Ashwin Karpe
> Attachments: CAMEL-3562.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.