Open jackabe opened 5 years ago
hi @jackabe
this works for me :
async publish({ message }) {
console.log(message)
try {
const channel = await this.amqp.createChannel()
await channel.assertQueue(QUEUE_DEV);
channel.sendToQueue(QUEUE_DEV, Buffer.from(message));
} catch (e) {
console.log(e)
}
}
Module setup connects fine with no errors:
Service does not console log anything inside of 'createChannel'.
Logged out the connection:
Logged out the channel: