forked from profmaad/librabbitmq-objc
-
Notifications
You must be signed in to change notification settings - Fork 8
/
AMQPExchange+Additions.h
36 lines (28 loc) · 1.03 KB
/
AMQPExchange+Additions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// AMQPExchange+Additions.h
// Objective-C wrapper for librabbitmq-c
//
// Created by Pedro Gomes on 27/11/2012.
// Copyright (c) 2012 EF Education First. All rights reserved.
//
#import "AMQPExchange.h"
@class AMQPQueue;
@interface AMQPExchange(Additions)
- (void)publishMessage:(NSString *)body
messageID:(NSString *)messageID
usingRoutingKey:(NSString *)theRoutingKey;
- (void)publishMessage:(NSString *)messageType
messageID:(NSString *)messageID
payload:(NSString *)body
usingRoutingKey:(NSString *)theRoutingKey;
- (void)publishMessage:(NSString *)messageType
messageID:(NSString *)messageID
payloadData:(NSData *)body
usingRoutingKey:(NSString *)theRoutingKey;
- (void)publishMessage:(NSString *)messageType
messageID:(NSString *)messageID
payloadData:(NSData *)payload
usingRoutingKey:(NSString *)routingKey
correlationID:(NSString *)correlationID
callbackQueue:(NSString *)callbackQueue;
@end