|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Newbie question |
« View previous topic :: View next topic » |
Author |
Message
|
Erwin |
Posted: Mon Apr 29, 2002 12:55 am Post subject: |
|
|
Newbie
Joined: 28 Apr 2002 Posts: 3 Location: The Netherlands
|
Hello all,
I am a total newbie to MQ Series. I would like to know if it is possible to put an entire DB-file in a message and put it on a queue.
If so, can anyone point me towards some coding examples? Its hard to find any sample code, and the IBM redbooks are not really good sources for samples.
You would really, really help me a lot with it.
Thanks in advance
Erwin |
|
Back to top |
|
 |
bduncan |
Posted: Mon Apr 29, 2002 9:04 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Erwin,
As far as sample code goes we have quite a bit on this site, just click the "Code Repository" link in the top right hand corner of your screen. As far as putting an entire DB file to a message, MQSeries makes no limitations about the content of messages. It doesn't care what type of file/information the content is. Assuming you can get this DB file into a datastructure that the MQ API will accept (usually a string or byte array) then MQSeries will have no problem moving it around in a message. However, there are limitations to the sizes of messages in MQSeries. It depends on the platform and version of MQ you are running but it is usually around 100Mb per message. If your DB file exceeds this though, you can still move it with MQSeries provided you use logical grouping of messages.
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
StefanSievert |
Posted: Mon Apr 29, 2002 9:49 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Two more thoughts in addition to Brandon's:
1) You might want to consider using reference messages (see AP Guide) if you need a file on the other end of the pipe, too
2) Be aware of codepage/encoding issues if you cross platform boundaries
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
Erwin |
Posted: Wed May 01, 2002 1:59 am Post subject: |
|
|
Newbie
Joined: 28 Apr 2002 Posts: 3 Location: The Netherlands
|
Thanks, gentlemen, for the info.
That will keep me busy for the time being.
Sincerely
Erwin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|