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] [Commented] (CAMEL-6913) Add dynamic unmarshalling capability to JiBX data format
Date Sat, 11 Jul 2015 06:24:04 GMT

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

Claus Ibsen commented on CAMEL-6913:
------------------------------------

Did you ever get started on a patch?

> Add dynamic unmarshalling capability to JiBX data format
> --------------------------------------------------------
>
>                 Key: CAMEL-6913
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6913
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jibx
>    Affects Versions: 2.12.1
>            Reporter: Strelok
>            Priority: Minor
>             Fix For: Future
>
>
> Currently a single instance of a JibxDataFormat supports unmarshalling a single class
only as defined by the "unmarshallClass" attribute. If the application needs to be able to
unmarshall to many classes an instance of a data format has to be created for every class
which makes configuration tedious and verbose.
> Should be trivial to make the data format support dynamically choosing which unmarshall
class to use via a header (CamelJibxUnmarshallClass for example).
> Creating this issue as a placeholder. I will try to submit a patch soon.



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

Mime
View raw message