Interface ConsumerHandler

Param: msg

The incoming message

Param: reply

Reply to an RPC-type message. Like Channel#basicPublish() but the message body comes first. Some fields are also set automaticaly:

  • routingKey = msg.replyTo
  • correlationId = msg.correlationId
interface ConsumerHandler ((msg, reply) => void | ConsumerStatus | Promise<void | ConsumerStatus>)

Generated using TypeDoc