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 2014/07/22 21:02:39 UTC

[jira] [Resolved] (CAMEL-7629) camel-jackson - Add support for header to define the unmarshalType dynamic

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

Claus Ibsen resolved CAMEL-7629.
--------------------------------

    Resolution: Fixed

There is a header now that can tell jackson which class to unmarshal as. Also added support for JMSType but you need to turn that on if you want to use that too.

> camel-jackson - Add support for header to define the unmarshalType dynamic
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-7629
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7629
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.14.0
>
>
> Today you can define a fixed unmarshalType on the data format. But that becomes fixed. There may be cases where you want to provide that as a header to be more dynamic.
> For example the JMSType is a JMS spec header to tell the java class type. So we could support that. And also a "CamelJsonType" header so people can set that also.



--
This message was sent by Atlassian JIRA
(v6.2#6252)