Path: redb-route/redb.Route/Abstractions/ExchangePropertyKeys.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/ExchangePropertyKeys.cs
----
namespace redb.Route.Abstractions;
///
/// Names of the exchange properties the EIP processors set, as Apache Camel's ExchangePropertyKey. They are
/// properties of the exchange, not message headers: they never travel to a broker with the message. Read them with
/// exchange.GetProperty<T>(name) in C# and ${property.CamelSplitIndex} in the expression language.
///
public static class ExchangePropertyKeys
{
///
/// Id of the exchange this one was copied from: set by Split and Multicast on every copy they make.
///
public const string CorrelationId = "CamelCorrelationId";
/// Endpoint URI the exchange is being sent to, set by interceptSendToEndpoint.
public const string ToEndpoint = "CamelToEndpoint";
/// Zero-based index of the part in a Split.
public const string SplitIndex = "CamelSplitIndex";
///
/// Number of parts in a Split. A streaming Split knows it only at the end: the last part carries it, and the
/// parent exchange carries it after the Split.
///
public const string SplitSize = "CamelSplitSize";
/// Whether this is the last part of a Split.
public const string SplitComplete = "CamelSplitComplete";
/// Zero-based index of the current iteration of a Loop.
public const string LoopIndex = "CamelLoopIndex";
/// Number of iterations of a counted Loop (absent on a doWhile loop).
public const string LoopSize = "CamelLoopSize";
/// Zero-based index of the branch in a Multicast.
public const string MulticastIndex = "CamelMulticastIndex";
/// Whether this is the last branch of a Multicast.
public const string MulticastComplete = "CamelMulticastComplete";
/// Number of exchanges an Aggregate combined into the completed one.
public const string AggregatedSize = "CamelAggregatedSize";
/// What completed the aggregation: size, timeout, predicate, interval, force.
public const string AggregatedCompletedBy = "CamelAggregatedCompletedBy";
/// Correlation key of the completed aggregation.
public const string AggregatedCorrelationKey = "CamelAggregatedCorrelationKey";
/// Endpoint URI a Recipient List sends this copy to.
public const string RecipientListEndpoint = "CamelRecipientListEndpoint";
/// Endpoint URI the current step of a Routing Slip sends to.
public const string SlipEndpoint = "CamelSlipEndpoint";
/// Set to true by the Idempotent Consumer on a duplicate it lets through.
public const string DuplicateMessage = "CamelDuplicateMessage";
}