Shuttle.Esb.Msmq
13.2.1
dotnet add package Shuttle.Esb.Msmq --version 13.2.1
NuGet\Install-Package Shuttle.Esb.Msmq -Version 13.2.1
<PackageReference Include="Shuttle.Esb.Msmq" Version="13.2.1" />
paket add Shuttle.Esb.Msmq --version 13.2.1
#r "nuget: Shuttle.Esb.Msmq, 13.2.1"
// Install Shuttle.Esb.Msmq as a Cake Addin
#addin nuget:?package=Shuttle.Esb.Msmq&version=13.2.1
// Install Shuttle.Esb.Msmq as a Cake Tool
#tool nuget:?package=Shuttle.Esb.Msmq&version=13.2.1
MSMQ
PM> Install-Package Shuttle.Esb.Msmq
All MSMQ queues are required to be transactional. In addition to the actual queue a msmq://configuration-name/queue-name$journal
queue will always be used. If it does not exist it will be created, so if you are creating queues explicitly then remember to create these also.
MSMQ creates outgoing queues internally so it is not necessary to use an outbox.
MSMQ Installation / Activation
You need to install / activate MSMQ on your system before using this queuing option.
Configuration
The URI structure is msmq://configuration-name/queue-name
.
services.AddMsmq(builder =>
{
builder.AddOptions("local", new MsmqOptions
{
Path = ".\private$", // for local queues
Path = "FormatName:DIRECT=TCP:127.0.0.1\private$", // for IP addresses
Path = "FormatName:DIRECT=OS:{host-name}\private$",
Timeout = Timespan.Zero,
UseDeadLetterQueue = false
});
});
The default JSON settings structure is as follows:
{
"Shuttle": {
"Msmq": {
"Timeout": "00:00:02",
"UseDeadLetterQueue": false,
"Path": "some-path"
}
}
}
Options
Option | Default | Description |
---|---|---|
Path |
The MessageQueue.Path to use to connect to the queue. | |
UseDeadLetterQueue |
true |
Specifies the value to pass to the 'UseDeadLetterQueue' property of the message sent. |
Timeout |
00:00:00 | Timespan indicating how long to wait for queue operations to complete. |
Product | Versions |
---|---|
.NET Framework | net462 net463 net47 net471 net472 net48 |
-
- Shuttle.Core.Contract (>= 11.0.0)
- Shuttle.Esb (>= 13.2.1)
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 |
---|---|---|
13.2.1 | 133 | 12/1/2022 |
13.2.0 | 229 | 9/16/2022 |
13.1.0 | 239 | 9/11/2022 |
13.0.0 | 236 | 9/4/2022 |
12.0.1 | 325 | 4/9/2022 |
12.0.0 | 275 | 3/21/2022 |
11.0.1 | 411 | 1/20/2021 |
11.0.0 | 962 | 6/21/2019 |
10.0.5 | 794 | 10/6/2018 |
10.0.4 | 702 | 9/22/2018 |
10.0.3 | 975 | 7/4/2018 |
10.0.2 | 956 | 2/13/2018 |
9.0.0 | 904 | 8/6/2017 |
8.0.0 | 919 | 3/24/2017 |
6.0.2 | 1,607 | 6/4/2016 |
6.0.1 | 1,275 | 4/24/2016 |
6.0.0 | 1,086 | 4/24/2016 |
3.8.6 | 928 | 4/3/2016 |
3.8.5 | 932 | 3/22/2016 |