Joined: 12 Aug 2001 Posts: 32 Location: Chennai,India
hai
yes you can keep java objects in queues
to do this you have to use the class JMSObjectMessage in which you can set and get objects using the methods setObject and getObject resp.
The only condition is that your object should be Serializable
_________________
In the end everything is Right ,If it's not then it's not the end
[ This Message was edited by: pazhanikumart on 2001-09-05 22:21 ]
Thanks for the Info.
I was able to store the Java objects using MQI too.
It works quite fine.
MQMessage class has one method "writeObject(Object obj)" to do this job.
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
The important thing to remember is that any binary data may be stored on an MQSeries queue. Since Java objects can be serialized to binary data, any java object can be stored in a queue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum