You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/30 11:57:42 UTC

[jira] Issue Comment Edited: (CAMEL-1500) Set jaxb encoding with spring

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

Claus Ibsen edited comment on CAMEL-1500 at 3/30/09 2:57 AM:
-------------------------------------------------------------

trunk: 759887
1.x: 759901

And updated the JAXB Data Format wiki page as well
http://cwiki.apache.org/confluence/display/CAMEL/JAXB


      was (Author: davsclaus):
    trunk: 759887
1.x: TODO

And updated the JAXB Data Format wiki page as well
http://cwiki.apache.org/confluence/display/CAMEL/JAXB

  
> Set jaxb encoding with spring
> -----------------------------
>
>                 Key: CAMEL-1500
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1500
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>         Environment: - eclipse v3.3.2
>            Reporter: Tobias Emmerich
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> I can set the encoding in Jaxb with the marshaller:
> jaxb.getMarshaller().setProperty(Marshaller.JAXB_ENCODING, "iso-8859-15");
> But the problem is i donĀ“t know how to set this in spring. 
> The source in spring till now is like this:
> <route>
>  <from uri="x"/>
>    <marshal>
>      <jaxb id="myJaxb" prettyPrint="true" contextPath="acknowledgement"/>
>    </marshal>
>   <to ref="y">
> </route>
> I think we need somthing like:
> <jaxb id="myJaxb" prettyPrint="true" contextPath="acknowledgement" encoding="iso-8859-15"/>
> Thanks for help
> Tobias

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.