Posted: Mon Jan 13, 2003 10:46 pm Post subject: How are handled large messages
Centurion
Joined: 10 Oct 2002 Posts: 117
Hi,
i need some clear explanations about this topic:
for instance having a 100 Mb message:
- do we need to define a 100 Mb buffer within the appli to store it before MQPUT?
- how does the sending MCA do with this message to send it? do we need to define the Channel max message length to 100 mB also? the message is fragmented by the MCA when sending it?
or
- in the case of large messages do we need to fragment it before sending it on a channel? or the MCA is able to send such a message without fragmentation by the appli?
thanks for help
Jack
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
Hi,
1) Yes, you need to alocate a buffer for your message (unles you are using referential messages for sending files)
2) Yes. The actual maximum used is the lower of the values defined for each end of the channel.
3) If you use the MQPM)_SEGMENTATION_ALLOWED option, the mesasge will be automaticaly fragmented. The getting appl can specify MQGMO_COMPLETE_MSG to get the whole message, not just a segment of it _________________ Marcin Grabinski <><
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