[jboss-user] [Messaging, JMS & JBossMQ] - XStream XML JMS Message

jpersson do-not-reply at jboss.com
Mon Sep 11 14:55:49 EDT 2006


Hi,
Using XStream (http://xstream.codehaus.org) for creating an XML payload for a TextMessage from within an MDB. The XML payload carried within the TextMessage is actually an ObjectMessage XStream'ed (marshalled) to XML. The MDB is a router between two queues in JBoss. Incoming queue is for ObjectMessage's and outgoing queue is only supporting TextMessage's (Apache Servicemix ESB), therefor we are trying to deliver an ObjectMessage as XML within a TextMessage. When the TextMessage is delivered to the other product (Apache Servicemix ESB) we can apply transformers and recreate (unmarshall) the XML/ObjectMessage.

We are not shure about this approach since it is the JBoss implementing class for the interfaces javax.jms.TextMessage and javax.jms.ObjectMessage, that the XStream marshaller operates on. Will it be compatible?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970822#3970822

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970822



More information about the jboss-user mailing list