Skip to content

Commit f7a50eb

Browse files
authored
Add an upgrade guide dedicated snippet for the Messaging Bridge Upgrade guide 3 to 4 (#7796)
1 parent c43af1d commit f7a50eb

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using NServiceBus;
2+
3+
class DoNotTranslateReplyToAddressForFailedMessages
4+
{
5+
public void Usage()
6+
{
7+
var bridgeConfiguration = new BridgeConfiguration();
8+
9+
#region bridge-3to4-do-not-translate-reply-to-address
10+
11+
bridgeConfiguration.DoNotTranslateReplyToAddressForFailedMessages();
12+
13+
#endregion
14+
}
15+
}

nservicebus/upgrades/bridge-3to4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ Since the header may contain a physical address of any endpoint in the system, t
2323

2424
Users who still want to prevent the need to register all endpoints with the bridge can use a dedicated API option:
2525

26-
snippet: do-not-translate-reply-to-address-for-failed-messages
26+
snippet: bridge-3to4-do-not-translate-reply-to-address
2727

0 commit comments

Comments
 (0)