Unable to connect to Apache ActiveMQ with Node.js
问题 Background Trying to connect to my Apache ActiveMQ broker using the AMQP 1.0 protocol via amqp10. I am using the following code (adapted from the original example in the README): const AMQPClient = require("amqp10").Client; const Promise = require("bluebird"); //Fix from: https://github.com/noodlefrenzy/node-amqp10/issues/241 const activeMQPolicy = require("amqp10").Policy; const client = new AMQPClient(activeMQPolicy.ActiveMQ); const setUp = () => { return Promise.all([ client.createReceiver