rabbitmq / rabbitmq-objc-client

RabbitMQ client for Objective-C and Swift
https://rabbitmq.com
Other
241 stars 84 forks source link

Accessing RMQMessage properties #80

Closed hasbean closed 8 years ago

hasbean commented 8 years ago

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 commented 8 years ago

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

camelpunch commented 8 years ago

Re-opening until aforementioned convenience work is in master.