camel-issues mailing list archives

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

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

ASF GitHub Bot commented on CAMEL-11862:
----------------------------------------

GitHub user isavin opened a pull request:

    https://github.com/apache/camel/pull/1975

    CAMEL-11862: Convert to requested type values retrieved from the repo…

    https://issues.apache.org/jira/browse/CAMEL-11862

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/isavin/camel resolve_and_convert

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1975.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1975
    
----
commit 17361f0f1d21abe716d040aa4b3d63ec0fe9d072
Author: Ion Savin <comp_@gmx.net>
Date:   2017-09-28T10:02:13Z

    CAMEL-11862: Convert to requested type values retrieved from the repository

----


> 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
>
> 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.
> "seda:s?concurrentConsumers=1"
> "seda:s?concurrentConsumers={{threadCount}}"
> work OK, the String property is converted to Integer.
> However if the parameter is a registry reference no conversion takes place:
> e.g
> "seda:s?concurrentConsumers=#threadCount" 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