activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Gomes <>
Subject Re: ObjectMessage to .NET clients?
Date Thu, 29 Jan 2009 17:03:11 GMT
Trying to serialize objects between Java and C# is a tricky proposition.  We
have been able to accomplish this through the use of automated tools that
generate Java code and C# code from an XSD file.  For C# you can use
XSDObjectGen tool.  I'm not sure what the Java equivalent tool is.  When the
objects are marshaled, they will marshal out to XML.  No need to use
ObjectMessage.  Just use a TextMessage to pass the XML.

On Mon, Jan 5, 2009 at 4:20 PM, uprooter <> wrote:

> Hello.
> Fix me if I'm wrong but ObjectMessage can hold any kind of object that
> implements Serialiazable.
> The API says "Only Serializable Java objects can be used".
> Does that means that I can't pass objects from java to .net client and vice
> versa with ActiveMQ?
> I've tried that and I get null body in the .NET client.
> Is there a way to do the Marshalling manually with JAXB or JAX-WS to
> overcome that ?
> Can the REST API help with that ?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message