【发布时间】:2019-05-04 02:57:40
【问题描述】:
我正在尝试通过 REST API 将消息放入 IBM MQ 队列,但我不知道如何在请求中设置优先级。我尝试简单地使用“优先级”作为查询参数,但收到以下错误:
"error": [
{
"action": "Resubmit the request with an appropriate set of parameters.",
"completionCode": 0,
"explanation": "The REST API does not support this query parameter for this operation.",
"message": "MQWB0019E: The query parameter 'priority' is not allowed.",
"msgId": "MQWB0019E",
"reasonCode": 0,
"type": "rest"
}
]
Question 36399382 提到同时使用“priority”和“targetClient”查询参数,但这似乎是 Apache Camel 特有的,即使尝试过,也没有用。
我浏览了所有我能找到的 IBM MQ REST API 文档,但没有找到任何解决方法。我确定某处有一些文档,但我只是没有找到它。这是必须在服务器上配置的特定内容,还是我的语法有问题?
提前致谢!
【问题讨论】: