Class IbmMqConnectionFactory

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

IBM MQ connection factory configuration. Standalone POCO — register in DI or reference by name.

Encapsulates all connection properties:
host/port/channel, authentication, SSL/TLS, and tuning.

public sealed class IbmMqConnectionFactory

Inheritance

Object→IbmMqConnectionFactory

Properties

CCSID

CCSID for the connection. (default: 1208 = UTF-8)

public int CCSID { get; set; }

Channel

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

public string Channel { get; set; }

ClientName

Client name for connection tracking.

public string? ClientName { get; set; }

Host

Queue manager hostname. Comma-separated for multi-instance failover. (default: localhost)

public string Host { get; set; }

Password

Authentication password.

public string? Password { get; set; }

Port

MQ listener port. (default: 1414)

public int Port { get; set; }

QueueManager

Queue manager name.

public string QueueManager { get; set; }

SslCertLabel

SSL certificate label in keystore.

public string? SslCertLabel { get; set; }

SslCipherSpec

SSL CipherSpec (e.g. TLS_RSA_WITH_AES_256_CBC_SHA256).

public string? SslCipherSpec { get; set; }

SslKeyRepository

Path to key repository (.kdb file, without extension).

public string? SslKeyRepository { get; set; }

SslKeyResetCount

Bytes before SSL secret key renegotiation. 0 = disabled.

public int SslKeyResetCount { get; set; }

SslPeerName

Distinguished Name pattern for peer validation.

public string? SslPeerName { get; set; }

TemporaryModel

Model queue of the temporary reply queue a request-reply producer opens when no replyToQueue is set; IBM

public string TemporaryModel { get; set; }

TransportType

Transport type: client (TCP), bindings (local), or managed. (default: managed client)

public string TransportType { get; set; }

User

Authentication user.

public string? User { get; set; }

Methods

BuildConnectionProperties()

Builds a of MQ connection properties suitable for

public Hashtable BuildConnectionProperties()