如何将队列管理器配置设置为 'optional'?

How to set queues manager configuration to 'optional'?

我正在尝试连接到 WebSphere MQ。但是当我尝试连接到日志时,我看到消息:

AMQ5540: The WebSphere MQ Client for Java application did not specify the user
ID and password

Explanation:

The queue administrator is configured to request a user ID and password,
but these data not specified.

Law:

Make sure that the application contains the correct user ID and password,
or change the queue manager configuration to OPTIONAL to allow
Connect to applications that do not specify a user ID and password.

如何配置可选的队列管理器配置?

IBM MQ 技术说明“AMQ5540, AMQ5541 and AMQ5542, application did not supply a user ID and password, 2035 MQRC_NOT_AUTHORIZED”描述了如何解决此问题。

我建议您查看如何提供有效的用户名和密码,而不是通过将其设置为 OPTIONAL 来禁用此检查,但上面的技术说明显示了如何从各种类型的应用程序发送密码以及如何将其设置为 OPTIONAL.