Class AmqpEndpointOptions
Endpoint options for AMQP 1.0 transport. All properties are auto-bound from URI query parameters.
URI format: amqp://address?host=broker&port=5672&user=admin&password=admin&...
Supports: ActiveMQ Artemis, ActiveMQ Classic, Azure Service Bus, Amazon MQ, Qpid, any AMQP 1.0 broker.
public sealed class AmqpEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
AckMode
When a delivery is settled (). Manual (default): accepted after a turn that ended
public AckMode AckMode { get; set; }
Batching
Batch mode (Apache Camel batching): the route gets one InOnly exchange whose body is a
public bool Batching { get; set; }
BatchingIntervalMs
Batch mode: a batch is sent on once this many milliseconds have passed since its first delivery.
public int? BatchingIntervalMs { get; set; }
Capabilities
Terminus capabilities. Comma-separated AMQP symbols.
public string? Capabilities { get; set; }
ConcurrentConsumers
Concurrent consumer workers: a number or "auto" (= max(CPU, 2)). Default 1 (serial, ordering preserved).
public string? ConcurrentConsumers { get; set; }
ConnectionFactory
Named connection factory from registry. Takes priority over inline params.
[RegistryReference(typeof(AmqpConnectionFactory))]
public string? ConnectionFactory { get; set; }
ContentType
Default content-type for outgoing messages. (default: text/plain)
public string ContentType { get; set; }
Credit
Link credit (prefetch). How many messages the broker can send before ack. (default: 100)
public int Credit { get; set; }
Declare
Declare the address on the broker if it doesn't exist. Requires broker support.
public bool Declare { get; set; }
DisableReplyTo
The consumer ignores a delivery's reply-to (Apache Camel disableReplyTo): the exchange is InOnly and no reply
public bool DisableReplyTo { get; set; }
DistributionMode
Distribution mode for the source: move or copy. (default: move)
public string? DistributionMode { get; set; }
Durable
Terminus durability: 0 = none, 1 = configuration, 2 = unsettled-state.
public uint Durable { get; set; }
Dynamic
Create dynamic terminus (broker assigns name). (default: false)
public bool Dynamic { get; set; }
ExpiryPolicy
Expiry policy for the terminus: link-detach, session-end, connection-close, never. (default: session-end)
public string ExpiryPolicy { get; set; }
FilterSelector
JMS/AMQP selector filter expression. Applied as a Source filter.
public string? FilterSelector { get; set; }
HeaderFilterStrategy
A registry reference (#name) to an that
[RegistryReference(typeof(IHeaderFilterStrategy))]
public string? HeaderFilterStrategy { get; set; }
Host
Broker host (default: localhost). In a comma-separated list the connection opens to the first host; the others
public string Host { get; set; }
LocalTransactions
Producer: the sends it defers in a .Transacted() block commit in one AMQP local transaction when the block
public bool LocalTransactions { get; set; }
MaxBatchMessages
Largest number of deliveries in a batch (default ). At most .
public int? MaxBatchMessages { get; set; }
MessageDurable
Set AMQP header.durable on outgoing messages. (default: true)
public bool MessageDurable { get; set; }
MessagePriority
Default message priority (0–9). (default: 4)
public byte MessagePriority { get; set; }
MessagePriorityExpression
Message priority as expression (e.g. ${body['priority']}). Resolved at runtime, overrides if set.
public string? MessagePriorityExpression { get; set; }
MessageTtlExpression
Message TTL as expression (e.g. ${body['ttl']}). Resolved at runtime, overrides if set.
public string? MessageTtlExpression { get; set; }
PollTimeoutMs
Batch mode: a batch with deliveries is sent on once no delivery came for this many milliseconds, restarted by
public int PollTimeoutMs { get; set; }
PreserveMessageQos
Apache Camel preserveMessageQos: an ordinary (not request-reply) send keeps the ReplyTo and
public bool PreserveMessageQos { get; set; }
ReceiverSettleMode
Receiver settle mode: First (0 = auto-ack), Second (1 = explicit ack). (default: First)
public int ReceiverSettleMode { get; set; }
ReceiveTimeout
Consumer receive timeout in seconds. 0 = infinite wait. (default: 60)
public int ReceiveTimeout { get; set; }
ReplyTimeout
Send-side timeout (seconds) for the consumer's RPC reply SenderLink.SendAsync.
public int ReplyTimeout { get; set; }
ReplyTo
Enable request/reply pattern (creates temp reply-to address). (default: false)
public bool ReplyTo { get; set; }
ResolvedConcurrentConsumers
Resolved consumer parallelism (see ).
public int ResolvedConcurrentConsumers { get; }
RoutingType
Routing type for Artemis: ANYCAST (queue semantics) or MULTICAST (topic semantics).
public string RoutingType { get; set; }
SenderSettleMode
Sender settle mode: Unsettled (0), Settled (1), Mixed (2). (default: Mixed)
public int SenderSettleMode { get; set; }
Timeout
Request/reply timeout in seconds; with it also bounds each step of a transaction
public int Timeout { get; set; }
Transacted
Producer: whether the send joins the enclosing .Transacted() block. Unset, it follows the block: deferred
public bool? Transacted { get; set; }
Methods
UnknownParameterHint(string)
A connector's own words for a parameter name it does not know — typically a name it used to
protected override string? UnknownParameterHint(string name)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()