You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/08/06 15:13:00 UTC

[jira] [Commented] (CAMEL-12941) camel-bindy - Null as default value for string

    [ https://issues.apache.org/jira/browse/CAMEL-12941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901160#comment-16901160 ] 

Claus Ibsen commented on CAMEL-12941:
-------------------------------------

Whats the use-case for using null as default value?

> camel-bindy - Null as default value for string
> ----------------------------------------------
>
>                 Key: CAMEL-12941
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12941
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-bindy
>    Affects Versions: 2.22.1
>            Reporter: michael elbaz
>            Priority: Trivial
>
> From 2.18.0 the default value for empty string is "" and it is not possible to set default string value to null please provide a way to do that, maybe the good solution is to set the default value to null when empty and provide the ability to change this with the annotion parameter 'defaultValue' ([related subject|https://stackoverflow.com/questions/38246684/how-to-set-defaultvalue-parameter-in-datafield-camel-annotation-to-empty-string])



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)