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 2013/04/27 09:22:16 UTC

[jira] [Resolved] (CAMEL-6316) jaxb data format - Should marshal to String instead of byte[]

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

Claus Ibsen resolved CAMEL-6316.
--------------------------------

    Resolution: Won't Fix
      Assignee: Claus Ibsen

Yeah good point. Also the current architecture is that the marshal is byte based. 

So even configuring a new option only on jaxb data format, will still be byte based as that's how the marshal processor works. And this would require an API change to DataFormat which isn't ideal to do for just this.

The Camel type converter can easily convert to String either implicit/explicit. So lets keep it as is.
                
> jaxb data format - Should marshal to String instead of byte[]
> -------------------------------------------------------------
>
>                 Key: CAMEL-6316
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6316
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jaxb
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.12.0
>
>
> When marshalling to XML then it would be best if we use a String type instead of byte[].
> See nabble
> http://camel.465427.n5.nabble.com/JAXB-marshal-generates-byte-array-instead-of-String-tp5715174.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira