A couple of years ago I started to work with one of my clients to implement an on-premises Service Bus solution.
While investigating the options I discovered a nice library, EasyNetQ: an easy .NET API for RabbitMQ, which inspired me to create a very similar project to simplify the use of pub/sub messaging with Service Bus 1.1 for Windows Server.
// Create a bus instance IBus bus = AzureCloud.CreateBus();
// Publish a message bus.Publish(message);
// Subscribe to a message of type Message bus.Subscribe("subscriptionId", msg => Console.WriteLine(msg.Text));
PM> Install-Package EasyAzureServiceBus
While the project already supports queues and the nice auto-subscribe feature, it is far from being perfect, and therefor I’m planning for the following features in the near future:
- Add logging capabilities
- Proper error handling
- Improve configuration options, such as: ReceivedMode, Autocomplete, Max Concurrent Calls and Duplicate detection.
- Extend compatibility to Microsoft Azure Service Bus –> the real deal isn’t it?
Hope it helps.