[
https://issues.apache.org/jira/browse/CAMEL-3458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974652#action_12974652
]
Claus Ibsen commented on CAMEL-3458:
------------------------------------
See nabble
http://camel.465427.n5.nabble.com/Bindy-fixed-length-length-attribute-and-truncate-tp3312636p3312636.html
> Bindy should support clipping fields if they exceed maximum length allowed
> when using fixed length
> --------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3458
> URL: https://issues.apache.org/jira/browse/CAMEL-3458
> Project: Camel
> Issue Type: Bug
> Components: camel-bindy
> Affects Versions: 2.5.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.6.0
>
>
> Adding a new option to bindy annotation
> {code}
> /**
> * Indicates to clip data in the field if it exceeds the allowed length
> when using fixed length.
> */
> boolean clip() default false;
> {code}
> Then if enabled it will clip the data so it can fit the length.
> Also now Camel throws an exception if the data is too long and you have clip
> set as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.