Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg authored Aug 30, 2024
1 parent 3dc8331 commit 48d166a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ However, the real benefit of the framework comes from:
* Simple testability & versioning

### Service Bus Intergrations
It is simple to use Cleipnir with all the popular service bus frameworks. In order to do simply implement an event handler, which forwards events for each flow type to the flow:
It is simple to use Cleipnir with all the popular service bus frameworks. In order to do simply implement an event handler - which forwards received events - for each flow type:

#### MassTransit
#### MassTransit Handler
```csharp
public class SimpleFlowsHandler(SimpleFlows simpleFlows) : IConsumer<MyMessage>
{
Expand All @@ -95,7 +95,7 @@ public class SimpleFlowsHandler(SimpleFlows simpleFlows) : IConsumer<MyMessage>
```
[Source code](https://github.com/stidsborg/Cleipnir.Flows/blob/main/ServiceBuses/MassTransit/Cleipnir.Flows.MassTransit.Console/SimpleFlow.cs)

#### NServiceBus
#### NServiceBus Handler
```csharp
public class SimpleFlowsHandler(SimpleFlows flows) : IHandleMessages<MyMessage>
{
Expand All @@ -105,7 +105,7 @@ public class SimpleFlowsHandler(SimpleFlows flows) : IHandleMessages<MyMessage>
```
[Source code](https://github.com/stidsborg/Cleipnir.Flows/blob/main/ServiceBuses/NServiceBus/Cleipnir.Flows.NServiceBus.Console/SimpleFlow.cs)

#### Rebus
#### Rebus Handler
```csharp
public class SimpleFlowsHandler(SimpleFlows simpleFlows) : IHandleMessages<MyMessage>
{
Expand All @@ -114,7 +114,7 @@ public class SimpleFlowsHandler(SimpleFlows simpleFlows) : IHandleMessages<MyMes
```
[Source code](https://github.com/stidsborg/Cleipnir.Flows/blob/main/ServiceBuses/Rebus/Cleipnir.Flows.Rebus.Console/SimpleFlow.cs)

#### Wolverine
#### Wolverine Handler
```csharp
public class SimpleFlowsHandler(SimpleFlows flows)
{
Expand Down

0 comments on commit 48d166a

Please sign in to comment.