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 2020/08/11 15:37:00 UTC
[jira] [Commented] (CAMEL-15394) PropertyBindingSupport - Root
object has issue with list and source code generated configurer
[ https://issues.apache.org/jira/browse/CAMEL-15394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175648#comment-17175648 ]
Claus Ibsen commented on CAMEL-15394:
-------------------------------------
There is potential an issue with setting options via configurer and using list types
Camel K needs this
{code}
SourcesCofiguration conf = new SourcesCofiguration();
PropertyBindingSupport.build()
.withCamelContext(context)
.withTarget(conf)
.withProperties(properties)
.withRemoveParameters(false)
.withOptionPrefix("camel.k.")
.withConfigurer(configurer)
.bind()
{code}
{code}
camel.k.sources[0].name = timer
camel.k.sources[0].language = yaml
camel.k.sources[0].location = file:/etc/camel/sources/timer/timer.yaml
camel.k.sources[0].type = template
{code}
Creating this ticket to look into this to get this fixed in camel-core
> PropertyBindingSupport - Root object has issue with list and source code generated configurer
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-15394
> URL: https://issues.apache.org/jira/browse/CAMEL-15394
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.4.2
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 3.5.0, 3.4.4
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)