Skip to content

Commit 38d1119

Browse files
authored
Merge pull request pardahlman#242 from astef/stable
Update Getting-started.md
2 parents 6f465f7 + 31e1dfd commit 38d1119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Configuration can be supplied in configuration files. See the [configuration sec
7575
Two of the main messaging patterns for RabbitMq are [remote procedure calls](https://www.rabbitmq.com/tutorials/tutorial-six-dotnet.html) (sometimes refered to as `RPC` or _request/reply_) and [publish/subscribe](https://www.rabbitmq.com/tutorials/tutorial-three-dotnet.html).
7676

7777
### Publish/Subscribe
78-
Implementing the publish/subscribe pattern can be done with just a few lines of code. The `SubscribeAsyn<TMessage>` method takes one argument `Func<TMessage,TMessageContext,Task>` that will be invoked as the message is recived. Read more about the `TMessageContext` in the [Message Context](fixme) section. Publish a message by calling `PublishAsync<TMessage>` with an instance of the message as argument.
78+
Implementing the publish/subscribe pattern can be done with just a few lines of code. The `SubscribeAsync<TMessage>` method takes one argument `Func<TMessage,TMessageContext,Task>` that will be invoked as the message is received. Read more about the `TMessageContext` in the [Message Context](fixme) section. Publish a message by calling `PublishAsync<TMessage>` with an instance of the message as argument.
7979
```csharp
8080
var client = BusClientFactory.CreateDefault();
8181
client.SubscribeAsync<BasicMessage>(async (msg, context) =>

0 commit comments

Comments
 (0)