You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/12/23 17:20:02 UTC

[jira] Created: (CAMEL-3458) Bindy should support clipping fields if they exceed maximum length allowed when using fixed length

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.


[jira] Resolved: (CAMEL-3458) Bindy should support clipping fields if they exceed maximum length allowed when using fixed length

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3458.
--------------------------------

    Resolution: Fixed

trunk: 1052312.

> 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.


[jira] Commented: (CAMEL-3458) Bindy should support clipping fields if they exceed maximum length allowed when using fixed length

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.