activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Java client and C# client sending serialized object
Date Mon, 20 Dec 2010 23:10:38 GMT
On Tue, 2010-12-21 at 00:01 +0100, Adam Kaminiecki wrote:
> Thats really bad. Are you sure that?? Because its message-oriented 
> middleware! Different client different systems should be able to 
> communicate!

You can send the standard set of JMS Message types, Text, Bytes, Stream,
Map;  you just can't send ObjectMessage for obvious reasons.  You can
marshal your C# objects to XML and then use something like XStream on
the Java side to unmarshal them into a matching Java class.  

Regards


> 
> W dniu 2010-12-20 16:48, Timothy Bish pisze:
> > On Mon, 2010-12-20 at 15:41 +0100, Adam Kaminiecki wrote:
> >> Hi,
> >>
> >> I have a question and I need your answer.
> >> Please reply as fast you can.
> >>
> >>
> >> Is it possible to send serialized object from C# client to Java client?
> >>
> >> Will it work? Types will be maped properly? Are any conditions when its
> >> work or not?
> >>
> > Serialization between Java and .NET is not compatible, so you can't send
> > an ObjectMessage between Java and .NET clients.
> >
> > Regards
> >
> 

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Mime
View raw message