Using the MQGMO_COMPLETE_MSG will result in mqm reconstructing the whole message and returning this whole message to the application. You can commit immediately after your successful get call, or for batch processing after the batch size. Also you should consider certain things for using the COMPLETE MSG option:
1. The effect on the application for a delayed response. Your get call will wait until the arrival of all the messages within the group.
2. The application's ability to handle large messages. The resultant message can become too big for the application to handle.
From the program point of view, the message reconstruction is transparent so you don't need to change anything in your program other then including the COMPLETE_MSG option.
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