Skip to content

Manual configuration

mookid8000 edited this page Jun 4, 2012 · 5 revisions

Manually configuring Rebus is easy, but it requires that you have a fair amount of knowledge about how Rebus (and the NServiceBus/MassTransit/Rhino ESB class of service bus implementations in general) achieve their functionality.

You do it like this:

var bus = new RebusBus(...);

and then you

bus.Start();

Of course the constructor above is not satisfied with ..., it does require some real stuff to be passed to it:

  • IActivateHandlers
  • ISendMessages
  • IReceiveMessages
  • IStoreSubscriptions
  • IStoreSagaData
  • IDetermineDestination
  • ISerializeMessages
  • IInspectHandlerPipeline

the purpose of which will be described here.

Clone this wiki locally