There was an error while loading. Please reload this page.
1 parent 3ebdb63 commit 487bc78Copy full SHA for 487bc78
objective-c/tutorial3/tutorial3/ViewController.m
@@ -20,7 +20,7 @@ - (void)emitLog {
20
[conn start];
21
22
id<RMQChannel> ch = [conn createChannel];
23
- RMQExchange *x = [ch fanout:@"logs" options:RMQExchangeDeclareNoOptions];
+ RMQExchange *x = [ch fanout:@"logs"];
24
25
NSString *msg = @"Hello World!";
26
@@ -35,7 +35,7 @@ - (void)receiveLogs {
35
36
37
38
39
RMQQueue *q = [ch queue:@"" options:RMQQueueDeclareExclusive];
40
41
[q bind:x];
0 commit comments