Closed sparkyb closed 3 years ago
@sparkyb Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@sparkyb Thank you for signing the Contributor License Agreement!
New pull request: https://github.com/rabbitmq/rabbitmq-server/pull/2639
The STOMP plugin uses rabbit_routing_util:ensure_endpoint to declare a queue based on a destination path. However, if that path is an exchange, currently it will not declare the exchange, it must already exist. With this change, if a declare_exchange parameter is passed and set to true, the destination exchange will be declared. Additional parameters may be passed to specify exchange properties: type, durable, autodelete, and arguments. All of these must be prefixed with exchange to distinguish them from parameters that specify similarly named properties of the queue the exchange will be bound to.