Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Segmentation with MQSeries for Java

Status
Not open for further replies.

AlexeiSkate

Programmer
Apr 10, 2002
3
0
0
US
Hi,

I'm trying to develop a Java program that will load the content of a very large file (> 1GB) onto a queue as a single message. I would like to use the segmentation features of MQSeries V5 to load the large file as segments of a large message onto the queue. For each chunk of data that I read from the file, do I need to specify a messageId and/or correlationId for that segment ? e.g. Do I need to do something like: MQMessage.messageId = 1; MQMessage.correlationId = 1; Then for the next segment, I would have to increment the number to the next number ? If there are some sample code lying around somewhere that I can take a look at, that would be great. Thanks for anyone's help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top