8000 Objc tutorial 3 uses option-less version of fanout method · lengocgiang/rabbitmq-tutorials@487bc78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 487bc78

Browse files
committed
Objc tutorial 3 uses option-less version of fanout method
[#118335067]
1 parent 3ebdb63 commit 487bc78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objective-c/tutorial3/tutorial3/ViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ - (void)emitLog {
2020
[conn start];
2121

2222
id<RMQChannel> ch = [conn createChannel];
23-
RMQExchange *x = [ch fanout:@"logs" options:RMQExchangeDeclareNoOptions];
23+
RMQExchange *x = [ch fanout:@"logs"];
2424

2525
NSString *msg = @"Hello World!";
2626

@@ -35,7 +35,7 @@ - (void)receiveLogs {
3535
[conn start];
3636

3737
id<RMQChannel> ch = [conn createChannel];
38-
RMQExchange *x = [ch fanout:@"logs" options:RMQExchangeDeclareNoOptions];
38+
RMQExchange *x = [ch fanout:@"logs"];
3939
RMQQueue *q = [ch queue:@"" options:RMQQueueDeclareExclusive];
4040

4141
[q bind:x];

0 commit comments

Comments
 (0)
0