camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-11862) Convert to requested type values retrieved from the repository
Date Thu, 28 Sep 2017 11:47:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-11862:
-----------------------------------

    Assignee: Claus Ibsen

> Convert to requested type values retrieved from the repository
> --------------------------------------------------------------
>
>                 Key: CAMEL-11862
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11862
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.19.3
>            Reporter: Ion Savin
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> Try to convert values resolved from the registry to the requested type.
> Currently if a component parameter is specified directly in the URI or using the properties
component it is converted to the type required by the component if possible:
> e.g.
> {code}
> "seda:s?concurrentConsumers=1"
> "seda:s?concurrentConsumers={{threadCount}}"
> {code}
> work OK, the String property is converted to Integer.
> However if the parameter is a registry reference no conversion takes place:
> e.g
> {code}
> "seda:s?concurrentConsumers=#threadCount" 
> {code}
> fails if the values stored in the registry is a String, the value is not converted to
Integer



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message