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

Message header of type byte[] #879

Closed
BenBorn opened this issue Jun 24, 2020 · 2 comments
Closed

Message header of type byte[] #879

BenBorn opened this issue Jun 24, 2020 · 2 comments
Assignees
Milestone

Comments

@BenBorn
Copy link

BenBorn commented Jun 24, 2020

We have a Byte-array in the amqp-header if I use the code:
result.BasicProperties.Headers.TryGetValue("key", out object value);
the value has the type: BinaryTableValue. But this type is internal. So how can I now get the byte[] content?

@michaelklishin michaelklishin changed the title AMQP-Header with Byte[] as content Message header of type byte[] Jun 24, 2020
@michaelklishin
Copy link
Member

This is not intentional. We should make this value public and move it to the public part of the API, RabbitMQ.Client. Feel free to submit a PR that does it. In the meantime, you can use string values instead.

@michaelklishin michaelklishin added this to the 6.2.0 milestone Jun 24, 2020
@lukebakken lukebakken self-assigned this Jun 24, 2020
@lukebakken lukebakken modified the milestones: 6.2.0, 6.1.1 Jun 24, 2020
@lukebakken
Copy link
Contributor

Fixed by #880

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants