ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Blob Messages

Post new topic  Reply to topic
 Blob Messages « View previous topic :: View next topic » 
Author Message
team
PostPosted: Mon Jul 02, 2007 3:52 am    Post subject: Blob Messages Reply with quote

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.

Kindly advise.
Thanks
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Jul 02, 2007 4:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
team
PostPosted: Mon Jul 02, 2007 5:10 am    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 108

So in that case, it would be better to write bytes and read bytes there ok.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Blob Messages
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.