File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
3434Or 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
7171The 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
7878Commands can be consumed from the command line as well with this simple command:
You can’t perform that action at this time.
0 commit comments