-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue when serializing ChannelDetails as an empty array
Because of rabbitmq/rabbitmq-server#2684, in all RabbitMQ versions until 3.11.8, the `.consumer_details.channel_details` attribute for a queue could be sent as an empty array (`[]`) instead an empty object (`{}`). This PR provides a fix to that by customizing the json serializarion of ChannelDetails.
- Loading branch information
1 parent
25afe7b
commit 5feab4e
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters