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/31 08:37:34 UTC
[jira] Created: (CAMEL-1503) javax.xml.transform.Source and
StreamSource wrapped should be easier to route with JMS
javax.xml.transform.Source and StreamSource wrapped should be easier to route with JMS
--------------------------------------------------------------------------------------
Key: CAMEL-1503
URL: https://issues.apache.org/activemq/browse/CAMEL-1503
Project: Apache Camel
Issue Type: Improvement
Components: camel-core, camel-jms
Affects Versions: 1.6.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.0.0
See SM-1826
What end users need to do is to use .convertBodyTo(String.class) before sending to a JMS queue with Camel when the payload is XML based, eg the javax.xml.transform.Source class that can be wrapped in a StreamCache as well.
It should be able to route out of the box by converting to byte[] in the JMS producer
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-1503) javax.xml.transform.Source and
StreamSource wrapped should be easier to route with JMS
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1503.
--------------------------------
Resolution: Fixed
Introduced StreamCache being able to write to an output stream and thus used in a type converter to convert from StreamCache to Serializable.
This allows us to send Streams to JMS or MINA that will be serialized, and now they can be serialized and thus work out of the box.
Before end users needed to convert to etc. String before sending to a JMS queue with Camel.
Trunk: 760833, 760886
Thanks to gert and willem for help and inspiration
> javax.xml.transform.Source and StreamSource wrapped should be easier to route with JMS
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-1503
> URL: https://issues.apache.org/activemq/browse/CAMEL-1503
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core, camel-jms
> Affects Versions: 1.6.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.0.0
>
>
> See SM-1826
> What end users need to do is to use .convertBodyTo(String.class) before sending to a JMS queue with Camel when the payload is XML based, eg the javax.xml.transform.Source class that can be wrapped in a StreamCache as well.
> It should be able to route out of the box by converting to byte[] in the JMS producer
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.