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/17 14:58:00 UTC

[jira] [Commented] (CAMEL-15160) Configurer - Generate details what type Map/List contains

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

Claus Ibsen commented on CAMEL-15160:
-------------------------------------

We now has an method on the configurer to return this information for an option. For list,array its the type of the value elements. for a map, its also the type of the value elements, and NOT they key (which often is a string type).

> Configurer - Generate details what type Map/List contains
> ---------------------------------------------------------
>
>                 Key: CAMEL-15160
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15160
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.5.0
>
>
> It would be good if we can make configurer generate what type a Map/List contains, if they have a specialized type.
> We can use this to know if we configurer something via the configurer and need to insert new data into the map/list, then we can know the class type, and create a new instance (if none exists).
> For example when configuring health-checks in camel-main.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)