Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support all types supported by rabbit in message headers instead of just strings #180

Merged
merged 2 commits into from
Apr 8, 2016

Conversation

dstockhammer
Copy link
Member

Currently, when a message header contains anything other than a byte[], the message consumer will blow up because the message creator tries to convert all header values into an utf-8 string.
The rabbit mq client supports more types than strings, (like int, long, double, bool and null), so this change will only convert to string if the value is byte[], otherwise just use the value.

@dstockhammer
Copy link
Member Author

I just pushed another change we discussed to my master, because I didn't realize that it will (obviously!) be added to this PR. I should probably have created another branch for this change in isolation, so if you want I can do that.
On the other hand, both changes are small and kind of related, so they might as well be in the same PR.

@iancooper
Copy link
Member

That's cool, I'll just accept them as rollup fix

@iancooper iancooper merged commit 20f990b into BrighterCommand:master Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants