Tago.Queues.Connectors.Ibm.Mq
2.2.3-preview-20240703-001
See the version list below for details.
dotnet add package Tago.Queues.Connectors.Ibm.Mq --version 2.2.3-preview-20240703-001
NuGet\Install-Package Tago.Queues.Connectors.Ibm.Mq -Version 2.2.3-preview-20240703-001
<PackageReference Include="Tago.Queues.Connectors.Ibm.Mq" Version="2.2.3-preview-20240703-001" />
paket add Tago.Queues.Connectors.Ibm.Mq --version 2.2.3-preview-20240703-001
#r "nuget: Tago.Queues.Connectors.Ibm.Mq, 2.2.3-preview-20240703-001"
// Install Tago.Queues.Connectors.Ibm.Mq as a Cake Addin #addin nuget:?package=Tago.Queues.Connectors.Ibm.Mq&version=2.2.3-preview-20240703-001&prerelease // Install Tago.Queues.Connectors.Ibm.Mq as a Cake Tool #tool nuget:?package=Tago.Queues.Connectors.Ibm.Mq&version=2.2.3-preview-20240703-001&prerelease
Tago.Extensions.Mq Documentation
Table of Contents
Introduction
"Tago.Extensions.Mq" is a wrapper for IBM MQ, designed to simplify and streamline the interaction with IBM MQ messaging systems within your .NET applications.
Target Audience
The primary audience for this documentation and the utility includes .NET developers and system administrators.
Getting Started
Installation
To use "Tago.Extensions.Mq" in your .NET project, you can install it via NuGet Package Manager or the .NET CLI.
dotnet add package Tago.Queues.Connectors.Ibm.Mq
Quick Start
To quickly get started with "Tago.Extensions.Mq," follow these steps:
- Import the necessary namespaces.
- Create an instance of the MqConnector class.
- Configure the connection to your IBM MQ server.
- Send and receive messages.
Configuration
You can customize the behavior of the IBM MQ Connector Wrapper by configuring the following options...
appsetting.json
{
"Queues": {
"Readers": {
"Queue1": {
"CodePage": 65001,
"Enabled": true,
"ExtendedProperties": {
"ReplyToQueueKey": "Queue1"
},
"Description": "Test",
"CharacterSetLookup": {
"1208": 65001
}
"ConnectionStrings": [
"server=127.0.0.1.158:1414,channel=DEV.APP.SVRCONN,manager=QM1,queue=DEV.QUEUE.1"
],
"Security": {
"UserId": "app",
"Pwd": "passw0rd"
}
},
"Queue2": {
"CodePage": 65001,
"Enabled": true,
"Description": "Test",
"CharacterSetLookup": {
"1208": 65001
},
"ConnectionStrings": [
"server=127.0.0.1.158:1414,channel=DEV.APP.SVRCONN,manager=QM1,queue=DEV.QUEUE.2"
],
"Security": {
"UserId": "app",
"Pwd": "passw0rd"
}
}
},
"Writers": {
"MyWriter": {
"CodePage": 65001,
"Enabled": true,
"Description": "Test",
"ExtendedProperties": {
"TestProp": "Queue1"
}
"ConnectionStrings": [
"server=127.0.0.1:1414,channel=DEV.APP.SVRCONN,manager=QM1,queue=DEV.QUEUE.1"
],
"Security": {
"UserId": "app",
"Pwd": "passw0rd"
}
},
"3rdParty": {
"CodePage": 65001,
"Enabled": true,
"Description": "Test",
"ExtendedProperties": {
"TestProp": "Queue1"
},
"ConnectionStrings": [
"server=127.0.0.1.158:1414,channel=DEV.APP.SVRCONN,manager=QM1,queue=DEV.QUEUE.2"
],
"Security": {
"UserId": "app",
"Pwd": "passw0rd"
}
}
}
}
}
Usage
Dependency injection
MqQueuesSettings queuesSettings = new MqQueuesSettings();
configuration.GetSection("Queues").Bind(queuesSettings);
services.AddMqServices();
services.AddMqReaders(queuesSettings?.Readers);
services.AddMqWriters(queuesSettings?.Writers);
Sending a Message
var factory = serviceProvider.GetService<IMessageQueueFactory>();
var writer = factory.GetWriter("3rdParty");
MQMessage msg = new MQMessage();
.....
var res = await writer.SendAsync(msg);
Receiving a Message
var factory = serviceProvider.GetService<IMessageQueueFactory>();
var reader = factory.GetReader("Queue1");
var res = await reader.ReceiveAsync();
Conclusion
Thank you for exploring the documentation for Tago.Extensions.Mq. We hope this guide has provided you with the information and resources needed to effectively integrate and utilize our IBM MQ Connector Wrapper in your .NET projects.
As you embark on your journey with Tago.Extensions.Mq, please remember that our commitment to enhancing and supporting this utility remains steadfast. Your feedback, contributions, and insights are invaluable to us as we strive to make this tool even more powerful and user-friendly.
Should you encounter any challenges, have questions, or wish to contribute to the project's development, we encourage you to reach out to us. Your engagement is key to the continued success of Tago.Extensions.Mq.
We look forward to seeing the remarkable applications and solutions you create with the help of our IBM MQ Connector Wrapper. Happy coding!
Author Information
- Author: Golan Sheetrit
- Email: support@tago-solutions.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 was computed. 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 Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- IBMMQDotnetClient (>= 9.2.3)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Logging (>= 2.2.0)
- Microsoft.Extensions.Options (>= 2.2.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.2.0)
-
net6.0
- IBMMQDotnetClient (>= 9.2.3)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Options (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.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 | |
---|---|---|---|
2.2.3 | 267 | 10/26/2023 | |
2.2.3-preview-20240704-001 | 165 | 7/23/2024 | |
2.2.3-preview-20240703-001 | 109 | 7/18/2024 | |
2.2.3-preview-20240702-001 | 99 | 7/18/2024 | |
2.2.3-preview-20240701-001 | 90 | 7/17/2024 | |
2.2.3-preview-20231022-001 | 141 | 12/5/2023 | |
2.2.3-preview-20230922-001 | 166 | 10/31/2023 | |
2.2.3-preview-20230921-001 | 130 | 10/31/2023 | |
2.2.3-preview-20230920-001 | 135 | 10/30/2023 | |
2.2.2-preview-20230919-002 | 192 | 9/19/2023 | |
2.2.2-preview-20230919-001 | 128 | 9/19/2023 | |
2.2.2-preview-20230120-001 | 257 | 1/31/2023 | |
2.2.2-preview-20220220-001 | 301 | 2/22/2022 | |
2.2.2-preview-20220219-001 | 174 | 2/22/2022 | |
2.2.2-preview-20220109-001 | 194 | 1/11/2022 | |
2.0.0-preview-10 | 365 | 9/4/2019 |