创建主题的持久订阅者时出现未授权错误

发布于 2025-01-06 07:05:09 字数 327 浏览 2 评论 0原文

我在创建 Topic 的持久订阅者时遇到一些问题。 这是我在创建主题的持久订阅时收到的错误消息 –

JMS Exception :: com.ibm.mq.jms.BrokerCommandFailedException: Broker command failed: MQRCCF_NOT_AUTHORIZED Reason code 3081

我能够创建普通/常规订阅者。

由于我刚刚开始使用队列/主题,想知道这是否是因为权限不足? 目前,我在创建持久订阅者时任意设置订阅者名称和 clientID。在客户端使用这些值之前,是否应该在服务器端以管理方式设置它们?

谢谢。

I am facing some issues in creating a durable subscriber to a Topic .
This is the error message I get when creating a durable subscription to a topic –

JMS Exception :: com.ibm.mq.jms.BrokerCommandFailedException: Broker command failed: MQRCCF_NOT_AUTHORIZED Reason code 3081

I am able to create a normal/regular subscriber.

Since I am just starting out on queues/topics, want to know if this is because of insufficient permission?
Currently I am arbitarily setting the subscriber name and clientID while creating the durable subscriber. Should these values be administratively set on the server side before using them on the client side?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘寄 2025-01-13 07:05:09

这绝对是权限不足的问题,必须在服务器端配置,根据 IBM Message Broker 文档

您无权执行所请求的操作。代理的授权设置由系统管理员使用主题层次结构编辑器处理。

不过,我对 IBM 的 jms 代理不是很熟悉(对于 websphere 也不是很熟悉),所以也许对配置更有经验的人可以在这里提供更大的帮助;)

this is definitely a problem of insufficient permission, that must be configured on server side, according to IBM Message Broker documentation :

You are not authorized to perform the requested action. Authorization settings for the broker are handled by the system administrator using the Topics Hierarchy editor.

I'm not very familiar with IBM's jms broker however (and neither with websphere for that matter), so maybe someone more experienced with the configuration could be of greater help here ;)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文