IbmMqClient 9.0.4

dotnet add package IbmMqClient --version 9.0.4                
NuGet\Install-Package IbmMqClient -Version 9.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IbmMqClient" Version="9.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbmMqClient --version 9.0.4                
#r "nuget: IbmMqClient, 9.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IbmMqClient as a Cake Addin
#addin nuget:?package=IbmMqClient&version=9.0.4

// Install IbmMqClient as a Cake Tool
#tool nuget:?package=IbmMqClient&version=9.0.4                

IbmMqClient

IBM MQ standalone client for .NET (converted official java client v9.0 via IKVM)

.NET CLI

dotnet new console --name "IbmMqClientExample"
cd IbmMqClientExample
dotnet add package IbmMqClient -v 9.0.4

Program.cs:

using com.ibm.msg.client.jms;
using com.ibm.msg.client.wmq.common;


var ff = JmsFactoryFactory.getInstance(JmsConstants.WMQ_PROVIDER);
var cf = ff.createConnectionFactory();

cf.setIntProperty(CommonConstants.WMQ_CONNECTION_MODE, CommonConstants.WMQ_CM_CLIENT);
cf.setStringProperty(CommonConstants.WMQ_HOST_NAME, "127.0.0.1");
cf.setIntProperty(CommonConstants.WMQ_PORT, 8010);
cf.setStringProperty(CommonConstants.WMQ_CHANNEL, "EXAMPLE.CHANNEL.ONE");
cf.setStringProperty(CommonConstants.WMQ_QUEUE_MANAGER, "EXAMPLE_QUEUE_MANAGER");
cf.setStringProperty(CommonConstants.WMQ_APPLICATIONNAME, "JMS EXAMPLE");
cf.setStringProperty(CommonConstants.USERID, "EXAMPLE_USER");

using (var context = cf.createContext())
{
    var queue = context.createQueue("queue:///EXAMPLE_QUEUE_NAME");
    var producer = context.createProducer();
    producer.send(queue, "Hello World");
}

Program.cs

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

  • net6.0

  • net8.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.4 286 9/3/2024
9.0.0 10,305 7/15/2019