@@ -45,16 +45,16 @@ channel declareQueueApplying: [ :queue | queue name: 'task_queue' ].
45
45
channel prefetchCount: 1.
46
46
````
47
47
48
- The ` channel prefetchCount: 1 ` directs RabbitMQ to wait for an acknowledge of
48
+ The ` channel prefetchCount: 1 ` directs RabbitMQ to wait for an acknowledgment of
49
49
the last message before sending another to the worker. Without this, the broker
50
50
will send the messages to the worker as soon as they enter the queue (regardless
51
51
of whether the worker is ready to receive more messages).
52
52
53
- Now you'll create a subscription to the queue. First you a register a callback,
53
+ Now you'll create a subscription to the queue. First you register a callback,
54
54
which will simulate running a task by creating a delay of n seconds, where n
55
55
is the amount of dots in the message. It will open a toast message for each
56
56
received message by the consumer showing the time it took, and it will send
57
- the acknowledge to the broker.
57
+ the acknowledgment to the broker.
58
58
59
59
``` smalltalk
60
60
channel
@@ -72,9 +72,9 @@ channel
72
72
].
73
73
```
74
74
75
- If the broker does not receive the acknowledge it will wait forever since there
76
- is no timeout. If the connection dies RabbitMQ will re-queue the message and
77
- try to send it again.
75
+ If the broker does not receive the acknowledgment it will wait forever since there
76
+ is no timeout. If the connection dies RabbitMQ will re-queue the message and
77
+ try to send it again.
78
78
79
79
## Spawning workers
80
80
@@ -164,8 +164,8 @@ On the images acting as worker open a Playground and evaluate the corresponding
164
164
script. Now, on the third one inspect the producer script on a Playground. This
165
165
will send your first message.
166
166
167
- Since you inspected the script, an inspector on a instance of channel will open.
168
- To send more messages to the workers send ` #basicPublish:exchange:routingKey: `
167
+ Since you inspected the script, an inspector on an instance of channel will open.
168
+ To send more messages to the workers send ` #basicPublish:exchange:routingKey: `
169
169
to it.
170
170
171
171
After each message sent you should see a toast notification on one your worker
0 commit comments