Skip to content

Commit 7736005

Browse files
committed
Remove broker references
1 parent bc8628b commit 7736005

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs-src/queuing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ It is highly recommended to <a href="https://redis.io/topics/security#authentica
2525

2626
### From Code
2727

28-
[Commands](commands) can be published programmatically with the **InEngine.Core.Queuing.Broker** class:
28+
[Commands](commands) can be published programmatically with the **InEngine.Core.Queuing.Queue** class:
2929

3030
```c#
31-
Broker.Make().Publish(new MyCommand());
31+
Queue.Make().Publish(new MyCommand());
3232
```
3333

3434
Or publish to the secondary queue:
3535

3636
```c#
37-
Broker.Make(true).Publish(new MyCommand());
37+
Queue.Make(true).Publish(new MyCommand());
3838
```
3939

4040
### From the Command Line
@@ -62,17 +62,17 @@ inengine.exe -pInEngine.Core queue:publish --command-plugin=InEngine.Core.dll --
6262
## Consuming Commands
6363

6464
### From Code
65-
Consuming a command is also accomplished with the Broker class:
65+
Consuming a command is also accomplished with the Queue class:
6666

6767
```c#
68-
Broker.Make().Consume();
68+
Queue.Make().Consume();
6969
```
7070

7171
The make method takes an optional second argument to indicate if the secondary queue should be used instead of the primary queue.
7272

7373
```c#
7474
// Uses secondary queue.
75-
Broker.Make(true).Consume();
75+
Queue.Make(true).Consume();
7676
```
7777

7878
Commands can be consumed from the command line as well with this simple command:

0 commit comments

Comments
 (0)