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 2018/01/29 13:08:00 UTC

[jira] [Comment Edited] (CAMEL-12207) Support new TypeConverter to convert GenericFile to List

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

Claus Ibsen edited comment on CAMEL-12207 at 1/29/18 1:07 PM:
--------------------------------------------------------------

That is now what type converters are intended for. When you have generic types like List/Collection etc then due to type erasure form JDK you cannot have it be a List<String>.

 


was (Author: davsclaus):
That is now what type converters are intended for.

> Support new TypeConverter to convert GenericFile to List<String>
> ----------------------------------------------------------------
>
>                 Key: CAMEL-12207
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12207
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.20.1
>            Reporter: abccbaandy
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> I think it's useful when we need process files from File or FTP component.
> Currently TypeConverter only support GenericFile to String, and we need convert it by ourselves.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)