How to Get-Inhibit the WebSphere MQ Queue?

对着背影说爱祢 提交于 2019-12-04 13:21:22
Umapathy

You can use PCF Change, Copy, and Create Queue command to change the attributes of the queue. This can be used from Java with the aid of the PCF Java helper classes, see Handling PCF Messages with IBM MQ classes for Java

InhibitGet (MQCFIN)

Get operations are allowed or inhibited (parameter identifier: MQIA_INHIBIT_GET ).

The value can be:

MQQA_GET_ALLOWED

Get operations are allowed.

MQQA_GET_INHIBITED

Get operations are inhibited.

Sure. When you open the queue for GET or for PUT you can include the SET option and then use the MQSET API call.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!