activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <>
Subject Re: ObjectMessage with NMS
Date Wed, 20 Dec 2006 18:59:43 GMT
This is an area of work that has not been fully developed in the NMS
client.  I think that NMS ObjectMessages should at least be able to
properly send around .NET object, converting between .NET and Java
objects would be much more tricky.  I don't see an easy way we could
support that.

On 12/19/06, goofy <> wrote:
> Hi,
> I'm trying to receive a JMS ObjectMessage from the ActiveMQ with a .net
> Client.
> Receiving a Textmessage and displaying its Text was not a big challenge, but
> displaying the contents of an ObjectMessage won't work.
> I'm receiving the objectMessage and I'm able to read the MessageId. But how
> can I read the content of the Message?
> In my concrete case I try to read a Event which has been published by a
> Java-Client and contains some properties. Assume my event is a person and
> contails values for "name" (String) and "age" (int).
> How would I be able to deserialize these properities representing the
> content of the Message.
> Using byte[] content = msg.Content will return a byte-array. How can I
> extract the needed information afterwards?
> Greetings,
> Tobi.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at



View raw message