Path: redb-route/redb.Route/Abstractions/ExchangePattern.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Abstractions/ExchangePattern.cs
----
namespace redb.Route.Abstractions;
///
/// Defines the message exchange pattern for a route.
/// Determines how In/Out messages are used during processing.
///
public enum ExchangePattern
{
///
/// Fire-and-forget. Producer result is written to In.
/// Out remains null. Default pattern for most routes.
///
InOnly = 0,
///
/// Request-reply. Original message preserved in In,
/// response written to Out. Used for enrichment scenarios.
///
InOut = 1,
///
/// Explicit response. Created by DSL .Respond().
/// RPC reply is taken from Out.
///
OutOnly = 2
}