Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

replyTo not being passed in publish #31

@aujamo44

Description

@aujamo44

When calling amqp.publish() I am receiving an error from RabbitMQ that my message is missing the reply_to property.
Here is what I have as my publisher:

const publish = function () {
    amqp.publish({
      queue_name: queueName,
      body: myBody,
      replyTo: myReplyQueue,
      messageId: uniqueID,
      correlationId: uniqueID,
      content_type: "text/plain",
    });
  };

publish()

I have also tried passing the publish option as reply_to and ReplyTo but to no avail 🥲

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions