-
Notifications
You must be signed in to change notification settings - Fork 33
Building a Service Bus Adapter
Daniel Halan edited this page Jun 23, 2014
·
6 revisions
Here we will go thru the steps to create a new Service Bus Adapter.
- Create a new Class Library with the Name "ServiceBusMQ.Adapter.[ServiceBusName]"
- Add reference to "ServiceBusMQ"
- Create a class implementing IServiceBusDiscovery interface that is used to discover Service Bus server and queues.
- Create a class implementing IServiceBusManager interface, that is responsible for querying the Service Bus.
- Build and Copy files to ServiceBusMQ Manager bin folder, and run. Your new Adapter should now appear in Configuration Window.
- Send Commands, implement ISendCommand interface to your manager class. Where you initialize the Service Bus and Sends an Command.
- View Subscriptions, implement IViewSubscriptions interface to your manager class. This is used for retrieving all subscriptions at a Server.