Hi
I am currently working on a system that's got an existing Message object. When incorporating JMS, I do not want to breakdown this Message into JMS properties for sending/receiving.
Since the setObjectProperty() does not allow me to put my Message object in the message, what is an alternative solution?
I can de/serialise the object during receive/send in byte[] format. Is this the only solution?
Thanks!
Keith
Hi -
We can send custom objects need to do the following...
ObjectMessage message = _session.createObjectMessage();
message.setObject(data);
Therefore, use setObject not setObjectProperty.
Good luck...
Dorothy