Skip to content

Commit 5945c00

Browse files
authored
Review and update reply-replytooriginator-differences.md
1 parent abd7850 commit 5945c00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nservicebus/sagas/reply-replytooriginator-differences.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Reply and ReplyToOriginator Differences
33
summary: Outlines the different behaviors of the Reply and ReplyToOriginator methods of the IMessageHandlerContext/IBus instance.
4-
reviewed: 2022-05-12
4+
reviewed: 2024-11-19
55
redirects:
66
- nservicebus/sagas/reply-replaytooriginator-differences
77
---
88

9-
When building systems using the [request/response pattern](/nservicebus/messaging/reply-to-a-message.md), the `Reply` method exposed by the `IMessageHandlerContext` or `IBus` interface is used to reply to the sender of the incoming message.
9+
When building systems using the [request/response pattern](/nservicebus/messaging/reply-to-a-message.md), the `Reply` method exposed by the `IMessageHandlerContext` is used to reply to the sender of the incoming message.
1010

11-
The same `Reply` method can be used inside a `Saga` and it is important to understand that it can have a different semantic, otherwise it can lead to unexpected behavior.
11+
The same `Reply` method can be used inside a [saga](nservicebus/sagas/) and it is important to understand that the `Reply` method always routes the message to the sender of the incoming message, _not the endpoint that started the saga_.
1212

1313
> [!NOTE]
1414
> The `Reply` method always delivers the message to the sender address of the incoming message.

0 commit comments

Comments
 (0)