AnyQ.Queues.Msmq
1.1.4
MSMQ extensions for AnyQ
Install-Package AnyQ.Queues.Msmq -Version 1.1.4
dotnet add package AnyQ.Queues.Msmq --version 1.1.4
<PackageReference Include="AnyQ.Queues.Msmq" Version="1.1.4" />
paket add AnyQ.Queues.Msmq --version 1.1.4
AnyQ.Queues.Msmq
MSMQ Extensions for AnyQ
Summary
AnyQ.Queues.Msmq provides concrete classes for extending the AnyQ library with support for MSMQ via the System.Messaging
namespace.
Usage
For most use cases, it should be sufficient to create an instance of the MsmqJobQueueFactory
class to pass to a JobQueueListener
.
The MsmqJobQueueFactory
class has two required dependencies: an IPayloadFormatter
, and an IRequestSerializer
.
The optional dependency, a System.Messaging.AccessControlList
, is used when creating or accessing a queue. See the Microsoft Docs page for more info.
Example
var jobQueueFactory =
new AnyQ.Queues.Msmq.MsmqJobQueueFactory(new JsonPayloadFormatter(), new JsonRequestSerializer());
var listener = new JobQueueListener(jobQueueFactory);
For more control, you may implement your own JobHandler
using the MsmqMessageFactory
and MsmqMessageQueueFactory
classes.
AnyQ.Queues.Msmq
MSMQ Extensions for AnyQ
Summary
AnyQ.Queues.Msmq provides concrete classes for extending the AnyQ library with support for MSMQ via the System.Messaging
namespace.
Usage
For most use cases, it should be sufficient to create an instance of the MsmqJobQueueFactory
class to pass to a JobQueueListener
.
The MsmqJobQueueFactory
class has two required dependencies: an IPayloadFormatter
, and an IRequestSerializer
.
The optional dependency, a System.Messaging.AccessControlList
, is used when creating or accessing a queue. See the Microsoft Docs page for more info.
Example
var jobQueueFactory =
new AnyQ.Queues.Msmq.MsmqJobQueueFactory(new JsonPayloadFormatter(), new JsonRequestSerializer());
var listener = new JobQueueListener(jobQueueFactory);
For more control, you may implement your own JobHandler
using the MsmqMessageFactory
and MsmqMessageQueueFactory
classes.
Dependencies
-
- AnyQ (>= 1.1.0)
GitHub Usage
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated | ||
---|---|---|---|---|
1.1.4 | 333 | 2/8/2018 |