The AMQP spec writes clearly and unambiguously that each AMQP message must have at least once application-data (body) section:
The body section may denote an empty body though.
However, it's not allowed to completely omit the body section.
This library however sends AMQP messages completely omitting the body section, which is a bug.
Reproduction:
let message = new Message(Properties = new Properties())
More context in rabbitmq/rabbitmq-server#15048 and rabbitmq/rabbitmq-server#14967
The AMQP spec writes clearly and unambiguously that each AMQP message must have at least once application-data (body) section:
The body section may denote an empty body though.
However, it's not allowed to completely omit the body section.
This library however sends AMQP messages completely omitting the body section, which is a bug.
Reproduction:
More context in rabbitmq/rabbitmq-server#15048 and rabbitmq/rabbitmq-server#14967