Class IbmMqEndpointOptions

Namespace: redb.Route.IbmMq
Assembly: redb.Route.IbmMq.dll

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

Object→EndpointOptions→IbmMqEndpointOptions

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; }

CCSID

Coded Character Set ID for message body. (default: 1208 = UTF-8)

public int CCSID { get; set; }

Channel

Server-connection channel name. (default: DEV.APP.SVRCONN)

public string Channel { get; set; }

ClientId

Client identifier for connection tracking.

public string? ClientId { 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; }

Convert

Apply MQGMO_CONVERT on receive. (default: true)

public bool Convert { 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; }

Host

Queue manager hostname. (default: localhost)

public string Host { 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; }

Password

Authentication password.

public string? Password { 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; }

Port

Queue manager listener port. (default: 1414)

public int Port { get; set; }

PreserveMessageQos

Apache Camel preserveMessageQos: an ordinary (not request-reply) put keeps the redbIbmMq.ReplyToQueue and

public bool PreserveMessageQos { get; set; }

Priority

Message priority. -1 = use queue default. (default: -1)

public int Priority { get; set; }

PriorityExpression

Expression override for priority (resolves to int).

public string? PriorityExpression { get; set; }

QueueManager

Queue manager name. (required)

public string QueueManager { get; set; }

ReceiveMode

Receive strategy: Poll (synchronous MQGET-WAIT, default) or Listener

public IbmMqReceiveMode ReceiveMode { get; set; }

ReplyTo

Enable request/reply pattern. (default: false)

public bool ReplyTo { 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; }

Selector

Message selector expression (for topic subscriptions).

public string? Selector { get; set; }

SslCertLabel

SSL certificate label in keystore.

public string? SslCertLabel { get; set; }

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; }

SslPeerName

Distinguished Name pattern for peer validation.

public string? SslPeerName { 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; }

Timeout

RPC timeout in seconds. (default: 30)

public int Timeout { get; set; }

Transacted

Consumer: true gets under syncpoint and commits (MQCMIT/MQBACK) with the route. Producer: whether the put

public bool? Transacted { get; set; }

User

Authentication user.

public string? User { 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()