ColdFusion/RabbitMQ 在 factory.newConnection() 上失败

ColdFusion/RabbitMQ Fails on factory.newConnection()

我正在尝试将我的 Coldfusion 应用程序连接到 CloudAMQP 的 RabbitMQ 服务。我已经能够创建 java 对象,但是当我尝试创建 newConnection() 时,它失败得很惨。我想这可能与我的配置有关?以下是我如何将 AMQP 的设置(右)映射到我的代码(左)。我基本上遵循 Luis Majano 在 github 上的示例代码(lmajano/messaging-polyglot) which he refers to in his video Down the RabbitMQ Hole with ColdFusion

NOTE: I will rotate the password after posting, so these credentials won't work. Seems like the prudent thing to do :)

当我 运行 这段代码时,我能够成功地创建一个工厂。 writeDump(factory) 代码输出以下内容。

NOTE: the newConnection() method

现在,当我尝试像这样实际创建一个连接时 factory.newConnection()...

失败了!这是 catch writeDump(err)

中转储的结果

知道为什么 factory.newConnection() 方法调用会失败吗?

设置虚拟主机:

factory.setVirtualHost("vhost");

虚拟主机与共享 cloudamqp 实例的用户名相同。