Skip to content

Commit c5a34ec

Browse files
authored
Weekly docs review of the bridge sample (#7239)
* Update sample.md
1 parent 1fea6a0 commit c5a34ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

samples/bridge/simple/sample.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
title: Simple Bridge Usage
33
summary: How to use the NServiceBus messaging bridge to connect endpoints on different transports
4-
reviewed: 2023-07-04
4+
reviewed: 2025-06-27
55
component: Bridge
66
related:
77
- nservicebus/bridge
88
---
99

10-
This sample shows how to bridge two different transports.
10+
This sample demonstrates how to configure an NServiceBus bridge that forwards messages between two endpoints running on different transports.
1111

1212
For this sample to work without installing any prerequisites, all endpoints use the [LearningTransport](/transports/learning/). To demonstrate that it can still bridge different transports, the LearningTransport on one side of the bridge is configured to store messages in a different location on disk.
13+
This sample uses [LearningTransport](/transports/learning/) with separate StorageDirectory paths to simulate endpoints running on two different transports. This approach allows you to test cross-transport messaging behavior locally, without setting up multiple transport infrastructures.
1314

1415
## Projects
1516

16-
The sample starts by sending a message from one endpoint, LeftSender, to another, RightReceiver. RightReceiver then replies with an `OrderResponse` message. LeftSender handles this message and publishes an `OrderReceived` message which is handled by another endpoint, LeftReceiver, as well as RightReceiver.
17+
This sample shows how messages are sent from one endpoint to another via a bridge. It includes a response message and a published event, all routed through the bridge. The sample starts by sending a message from one endpoint, LeftSender, to another, RightReceiver. RightReceiver then replies with an `OrderResponse` message. LeftSender handles this message and publishes an `OrderReceived` message which is handled by another endpoint, LeftReceiver, as well as RightReceiver.
1718

1819
Here is a diagram of the message flow:
1920

0 commit comments

Comments
 (0)