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

[jira] Created: (CAMEL-1500) Set jaxb encoding with spring

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
             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.


[jira] Resolved: (CAMEL-1500) Set jaxb encoding with spring

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1500.
--------------------------------

    Resolution: Fixed

> 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-jaxb
>    Affects Versions: 1.6.0
>         Environment: - eclipse v3.3.2
>            Reporter: Tobias Emmerich
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> 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.


[jira] Commented: (CAMEL-1500) Set jaxb encoding with spring

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50893#action_50893 ] 

Claus Ibsen commented on CAMEL-1500:
------------------------------------

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.


[jira] Updated: (CAMEL-1500) Set jaxb encoding with spring

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1500:
-------------------------------

          Component/s:     (was: camel-spring)
                       camel-jaxb
    Affects Version/s: 1.6.0
        Fix Version/s: 1.6.1

> 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-jaxb
>    Affects Versions: 1.6.0
>         Environment: - eclipse v3.3.2
>            Reporter: Tobias Emmerich
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> 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.


[jira] Assigned: (CAMEL-1500) Set jaxb encoding with spring

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1500:
----------------------------------

    Assignee: Claus Ibsen

> 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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.