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

Accessing RMQMessage properties #80

Closed
hasbean opened this issue Jun 17, 2016 · 2 comments
Closed

Accessing RMQMessage properties #80

hasbean opened this issue Jun 17, 2016 · 2 comments
Milestone

Comments

@hasbean
Copy link

hasbean commented Jun 17, 2016

I need to access the correlationID of an incoming message, but for some reason it's missing from the header file.

I added this to RMQMessage.h

@property (nonatomic, readonly) NSArray *properties;

Works great so far.

@camelpunch
Copy link
Collaborator

I have a part-finished addition to Michael's commits that gives easier access via convenience methods.

@camelpunch
Copy link
Collaborator

Re-opening until aforementioned convenience work is in master.

@camelpunch camelpunch reopened this Jun 19, 2016
camelpunch added a commit that referenced this issue Jun 20, 2016
- Set default properties when publishing properties
- Easier reading of properties via convenience methods
- Port Bunny's property integration test from https://github.com/ruby-amqp/bunny/blob/master/spec/higher_level_api/integration/message_properties_access_spec.rb

Issue #80
[#121834771]
camelpunch added a commit that referenced this issue Jun 20, 2016
It's now done in the Channel.

Issue #80
[#121834771]
camelpunch added a commit that referenced this issue Jun 20, 2016
Tests are great when you remember to run them.

Issue #80
[#121834771]
@camelpunch camelpunch added this to the v0.8 milestone Jun 20, 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

No branches or pull requests

3 participants