Class IbmMqEndpointOptions
Endpoint options for IBM MQ transport. All properties are auto-bound from URI query parameters.
URI format: ibmmq:QUEUE.NAME?host=mq-host&port=1414&channel=DEV.APP.SVRCONN&queueManager=QM1
public sealed class IbmMqEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
BackoutDelay
Pause after a backout, in milliseconds (default 1000): once the consumer backs out a failed message
public int BackoutDelay { get; set; }
BackoutQueue
Queue a poison message goes to (and, in batch mode, a request), over the input queue's BOQNAME; without either, the
public string? BackoutQueue { get; set; }
BackoutThreshold
With transacted=true or in batch mode: a message backed out this many times (over the input queue's BOTHRESH) goes to
public int BackoutThreshold { 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 message.
public int? BatchingIntervalMs { get; set; }
Channel
Server-connection channel name. (default: DEV.APP.SVRCONN)
public string Channel { get; set; }
ConcurrentConsumers
Concurrent consumer sessions: a number or "auto" (= max(CPU, 2)). Default 1. Topics clamp to 1 (parallel subscriptions would duplicate delivery).
public string? ConcurrentConsumers { get; set; }
ConnectionFactory
Named connection factory from registry. Takes priority over inline params.
[RegistryReference(typeof(IbmMqConnectionFactory))]
public string? ConnectionFactory { get; set; }
CorrelationPattern
How to correlate RPC replies. (default: MsgId)
public IbmMqCorrelationPattern CorrelationPattern { get; set; }
DestinationType
Destination type: Queue or Topic. (default: Queue)
public IbmMqDestinationType DestinationType { get; set; }
DisableReplyTo
Apache Camel disableReplyTo: the consumer does not act on a request's reply-to. It sends no reply, and a
public bool DisableReplyTo { get; set; }
Expiry
Message expiry in tenths of a second. -1 = unlimited. (default: -1)
public int Expiry { get; set; }
ExpiryExpression
Expression override for expiry (resolves to int).
public string? ExpiryExpression { get; set; }
HeaderFilterStrategy
A registry reference (#name) to an that
[RegistryReference(typeof(IHeaderFilterStrategy))]
public string? HeaderFilterStrategy { get; set; }
MaxBatchMessages
Largest number of messages in a batch (default 100). Batch mode only.
public int? MaxBatchMessages { get; set; }
MessageType
Message type for outgoing messages. (default: Datagram)
public IbmMqMessageType MessageType { get; set; }
MessageTypeExpression
Expression override for message type (resolves to enum name or numeric value).
public string? MessageTypeExpression { get; set; }
MqmdReadEnabled
Populate all MQMD fields into exchange headers on receive. (default: true)
public bool MqmdReadEnabled { get; set; }
MqmdWriteEnabled
Allow writing the advanced/raw MQMD fields from exchange headers — message type, format,
public bool MqmdWriteEnabled { get; set; }
Persistence
Message persistence mode. (default: AsQDef)
public IbmMqPersistence Persistence { get; set; }
PersistenceExpression
Expression override for persistence (resolves to enum name or numeric value).
public string? PersistenceExpression { get; set; }
PollTimeoutMs
Batch mode: a batch with messages is sent on once no message came for this many milliseconds, restarted by
public int PollTimeoutMs { get; set; }
PreserveMessageQos
Apache Camel preserveMessageQos: an ordinary (not request-reply) put keeps the redbIbmMq.ReplyToQueue and
public bool PreserveMessageQos { get; set; }
PriorityExpression
Expression override for priority (resolves to int).
public string? PriorityExpression { get; set; }
ReceiveMode
Receive strategy: Poll (synchronous MQGET-WAIT, default) or Listener
public IbmMqReceiveMode ReceiveMode { get; set; }
ReplyToQueue
Reply-to queue name. If empty, uses dynamic/temporary reply queue.
public string? ReplyToQueue { get; set; }
ReplyToQueueManager
Reply-to queue manager. If empty, uses local queue manager.
public string? ReplyToQueueManager { get; set; }
ResolvedConcurrentConsumers
Resolved consumer parallelism (see ).
public int ResolvedConcurrentConsumers { get; }
SslCipherSpec
SSL CipherSpec name (e.g. TLS_RSA_WITH_AES_256_CBC_SHA256).
public string? SslCipherSpec { get; set; }
SslKeyRepository
Path to the key repository (.kdb file without extension).
public string? SslKeyRepository { get; set; }
SslKeyResetCount
Number of bytes before SSL secret key is renegotiated. 0 = disabled.
public int SslKeyResetCount { get; set; }
TargetClient
Target client mode — Jms (with MQRFH2) or Mq (raw MQMD). (default: Jms)
public IbmMqTargetClient TargetClient { get; set; }
TemporaryModel
Model queue of the temporary reply queue opened when is empty: IBM MQ's
public string TemporaryModel { get; set; }
Transacted
Consumer: true gets under syncpoint and commits (MQCMIT/MQBACK) with the route. Producer: whether the put
public bool? Transacted { get; set; }
WaitInterval
MQGET wait interval in milliseconds. 0 = no wait. (default: 5000)
public int WaitInterval { 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()