Posted: Sun Mar 06, 2005 11:13 pm Post subject: MQ First Step API Exerciser.
Newbie
Joined: 06 Mar 2005 Posts: 1 Location: KL,Malaysia
MQ First Step API Exerciser.
Hi experts....
I have a question....about GET & PUT API using MQ First Step API Exerciser. If I assigned a value to the MsgId & CorrelId in MQPut argument Options, I can't get back the message using the GET API leaving everything Default except setting the MsgId & CorrelId the same value entered during PUT previously. Can someone explain to me why? Thanks for the help.......
If you want to get only messages with certain message and/or correlation ids, then you must set the flags MQC.MQMO_MATCH_MSG_ID and MQC.MQMO_MATCH_CORREL_ID in MQGetMessageOptions.options. _________________ Aaron Digulla
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