Posted: Mon Jul 02, 2007 3:52 am Post subject: Blob Messages
Centurion
Joined: 03 Nov 2006 Posts: 108
Hi,
Would like an opinion on this.
I retrieve a message from the database in Blob format. I need to put this message to a queue.
What would be the best way to put the message onto the queue? Would it be writing this as an object using MQMessage's writeobject. or converting it to bytes and use MQmessage's write function.
The get from the same queue, is again in my scope. hence they way i write the object, I coould retrieve it the same way as well.
If there is the slightest chance at all that any other application could ever need to read this message, then do not use a serialized Java object. _________________ I am *not* the model of the modern major general.
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