IBMMQResilientClient 0.3.0

dotnet core client for IBM MQ with built-in resiliency and the ability to connect securely

Install-Package IBMMQResilientClient -Version 0.3.0
dotnet add package IBMMQResilientClient --version 0.3.0
<PackageReference Include="IBMMQResilientClient" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IBMMQResilientClient --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IBMMQResilientClient, 0.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IBMMQResilientClient as a Cake Addin
#addin nuget:?package=IBMMQResilientClient&version=0.3.0

// Install IBMMQResilientClient as a Cake Tool
#tool nuget:?package=IBMMQResilientClient&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IBMMQResilientClient

dotnet core client for IBM MQ with built-in resiliency and the ability to connect securely.

Features:

  • Retry capability via Polly.
  • TLS support(optional).

HowTo:

  • Add configuration/settings:
"queueOptions": {
		"managerName": "QM1",
		"name": "DEV.QUEUE.1",
		"appName": "MyApp",
		"channel": "DEV.APP.SVRCONN",
		"userName": "app",
		"password": "passw0rd",
		"installCert": false,//when set to true certs must be provided.
		"clientCert": "",
		"serverCert": "",
		"subscriptionName": "subName",
		"cipherSpec": "VALID_CIPHER_SPEC", //Optional if not set will defaulted to TLS_RSA_WITH_AES_128_CBC_SHA256
		"retryCount": INT_VALUE, //Optional if not set will be defaulted to 5 used to control exponential backoff of Polly retry logic
		"topic": "dev/",
		"mqHostOptionsList": [
			{
				"hostName": "localhost",
				"port": "1414"
			}
		]
}
  • Register the needed services with DI container by calling the extension method: services.AddIbmMQ();
  • Now you should be ready to write/read from the queue.

A sample console app which connects to local IBM MQ container instance is included for references.

Please leave feedback if possible and feel free to report any issues on the GitHub repo

IBMMQResilientClient

dotnet core client for IBM MQ with built-in resiliency and the ability to connect securely.

Features:

  • Retry capability via Polly.
  • TLS support(optional).

HowTo:

  • Add configuration/settings:
"queueOptions": {
		"managerName": "QM1",
		"name": "DEV.QUEUE.1",
		"appName": "MyApp",
		"channel": "DEV.APP.SVRCONN",
		"userName": "app",
		"password": "passw0rd",
		"installCert": false,//when set to true certs must be provided.
		"clientCert": "",
		"serverCert": "",
		"subscriptionName": "subName",
		"cipherSpec": "VALID_CIPHER_SPEC", //Optional if not set will defaulted to TLS_RSA_WITH_AES_128_CBC_SHA256
		"retryCount": INT_VALUE, //Optional if not set will be defaulted to 5 used to control exponential backoff of Polly retry logic
		"topic": "dev/",
		"mqHostOptionsList": [
			{
				"hostName": "localhost",
				"port": "1414"
			}
		]
}
  • Register the needed services with DI container by calling the extension method: services.AddIbmMQ();
  • Now you should be ready to write/read from the queue.

A sample console app which connects to local IBM MQ container instance is included for references.

Please leave feedback if possible and feel free to report any issues on the GitHub repo

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.0 244 11/1/2020
0.2.0 155 10/9/2020