Yes, any serializable object can be the payload of ObjectMessage so you can use ObjectMessge to send any serializable objects to consumers. ObjectMessage introduces the Java serialization mechanism to serialize objects for producers and deserialize objects for consumers. You may be aware of the interoperability of the Java serialization mechanism if you choose ObjectMessge to do that.
At 2013-03-14 15:41:49,"AMARNATH, Balachandar" <[email protected]> wrote: >Is it possible to send user defined objects as a message to the remote >consumer instead of text message using activeMQ? Is this design makes sense as >treating objects as a message? > >With thanks and regards >Balachandar > > > > >The information in this e-mail is confidential. The contents may not be >disclosed or used by anyone other than the addressee. Access to this e-mail by >anyone else is unauthorised. >If you are not the intended recipient, please notify Airbus immediately and >delete this e-mail. >Airbus cannot accept any responsibility for the accuracy or completeness of >this e-mail as it has been sent over public networks. If you have any concerns >over the content of this message or its Accuracy or Integrity, please contact >Airbus immediately. >All outgoing e-mails from Airbus are checked using regularly updated virus >scanning software but you should take whatever measures you deem to be >appropriate to ensure that this message and any attachments are virus free. >
