|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Allowing Queue Get Operations |
« View previous topic :: View next topic » |
Author |
Message
|
petmor |
Posted: Sun Jul 21, 2002 2:40 pm Post subject: Allowing Queue Get Operations |
|
|
Apprentice
Joined: 20 Jun 2002 Posts: 45 Location: Pasadena, CA
|
Sorry if I've overlooked this in the MQSeries docs, but I can't find a specific reference/example displaying the SelectorsTable setting to allow MQGET operations on a queue after inhibiting them.
I should be able to inhibit MQGET with:
SelectorsTable[0] = MQIA_INHIBIT_GET;
IntAttrsTable[0] = MQQA_GET_INHIBITED;
and then applying an MQSET call. I'm thinking I can allow MQGET with:
IntAttrsTable[0] = MQQA_GET_ALLOWED;
but what does SelectorsTable[0] get set to?
This must be old hat to you all. I'm very new to MQSeries programming and just need some clarification of a few basic issues. Thanks! |
|
Back to top |
|
 |
kolban |
Posted: Sun Jul 21, 2002 3:06 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Set it to the same thing, i.e. MQIA_INHIBIT_GET |
|
Back to top |
|
 |
petmor |
Posted: Sun Jul 21, 2002 5:23 pm Post subject: Allowing Queue Get Operations |
|
|
Apprentice
Joined: 20 Jun 2002 Posts: 45 Location: Pasadena, CA
|
So, to allow get operations on a get-inhibited queue, these settings are passed to MQSET:
SelectorsTable[0] = MQIA_INHIBIT_GET;
IntAttrsTable[0] = MQQA_GET_ALLOWED;
Thanks very much. I wouldn't have realized MQIA_INHIBIT_GET was once again passed to SelectorsTable[0] during the re-set without your help. I wish the docs had stated this explicitly. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|