ActiveMQ via C# Part 3: Simplifying the API using a Provider Pattern

added by jeffrymorris
9/24/2010 6:08:00 PM

0 Kicks, 376 Views

In my previous posts I developed simple sender and receiver classes for topics and queues using Apache.NMS and ActiveMQ. In this post I will use the provider pattern to simplify creation and management of NMS connections, senders and receivers. Additionally, I’ll improve the syntax and ease of using NMS by adding fluent-interface behavior to the sender and receiver classes previously developed in part 1 and part 2, as well as a little refactoring to better manage the lifetime of the objects.