Skip to content

Invalid AMQP message with missing application-data section #629

@ansd

Description

@ansd

The AMQP spec writes clearly and unambiguously that each AMQP message must have at least once application-data (body) section:

Image

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

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