Wednesday, December 7, 2011

MQ : DESTRUCTIVE and NON-DESTRUCTIVE-GET



If any of MQGMO-BROWSE-FIRST, MQGMO-BROWSE-NEXT, MQGMO_BROWSE_MSG_UNDER_CURSOR is specified in get message options then it is a NON-DESTRUCTIVE-GET .

If none of the above option is specfied in the MQGET call, then it is desctructive get.

Messages will stay in the MQ, after the non-destructive get whereas after the execution of destructive get, message will be deleted.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.