Hi Adam, Another solution would be to create an xsd for the objects you want to communicate through activeMQ. Like that, you will be able to serialize / deserialize these xml objects pretty easily on both sides.
This is not really an ActiveMQ problem actually, activeMQ is just the "delivery boy", so you just needs to make sure that whatever is sent through it can be read properly on the other side. Seb On Tue, Dec 21, 2010 at 00:43, Johan Edstrom <seij...@gmail.com> wrote: > You probably want xml/json or some other sort of payload that is generic. > And it is not "really bad" more a fact of life. > > /je > > On Dec 20, 2010, at 4:01 PM, Adam Kaminiecki wrote: > > > Thats really bad. Are you sure that?? Because its message-oriented > middleware! Different client different systems should be able to > communicate! > > > > > > > > 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 > >> > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > -- Sebastien Rodriguez