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 2015/08/08 17:04:45 UTC

[jira] [Resolved] (CAMEL-3496) camel-bindy - Make it easier to use by getting rid of List structure and other improvemets

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

Claus Ibsen resolved CAMEL-3496.
--------------------------------
       Resolution: Implemented
         Assignee: Claus Ibsen
    Fix Version/s:     (was: 3.0.0)
                   2.16.0

Lets assume most of this is done with the bindy contribution we got for 2.16 that do not use package name anymore.

> camel-bindy - Make it easier to use by getting rid of List<Map> structure and other improvemets
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3496
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3496
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-bindy
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> 1)
> The bindy API is unfortunately a bit cumbersome because it stores its result in a {{List<Map<String, Object>>}} structure. 
> Instead it should store the object directly in the {{List<Object>}}
> End users would expect this instead of the cumbersome API.
> 2)
> Also the marshal and unmarshal operators should take an optional class name so you know which class to use in case you use a package which has other @CsvRecord classes in the same package. Then you can tell Camel to use this class in case of ambiguity.
> 3)
> And if you use multiple objects for one @Record we should introduce an option on the @Record to mark the class as the *top* class (the starting class).
> 4)
> And the source code could use a bit of love here and there, and most likely add more checks and throw better exceptions so end users better understand what would be wrong.
> This will break backwards comp. so let's try to do this for Camel 3.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)