Database Reference
In-Depth Information
Interface configurations
Instead of using the IBus' configuration, or app.config configuration, NSB can use the
Host configuration by extending the EndpointConfigclasses . These tables are not
to be all inclusive, but a starting point to understand the various pieces of IBus:
Name
Description
Detailed link
http://docs.particular.net/
NServiceBus/the-
nservicebus-host
Here, implementers will be called after NSer-
viceBus.Configure.With completes and a container has been set.
INeedInitialization
Here, implementers are invoked when a configuration is complete.
Also, implementers are resolved from the container and so have
access to full DI.
http://docs.particular.net/
NServiceBus/profiles-for-
nservicbus-host
IWantToRunWhenConfigurationIsComplete
In this interface, Start and Stop implementers will be invoked
when the endpoint starts up. A dependency injection is provided
for these types.
http://docs.particular.net/
NServiceBus/scheduling-
with-nservicebus
IWantToRunWhenBusStartsAndStops
We have the addition of the following interfaces defined at the root of the NServiceBus
code:
Name
Description
Detailed link
http://docs.particular.net/
NServiceBus/the-
nservicebus-host
IConfigureThisEndpoint
This indicates that the implementing class will specify the configuration.
http://docs.particular.net/
NServiceBus/how-to-
specify-your-input-queue-
name
If you want to specify your own container or serializer, implement this interface
on the class that implements IConfigureThisEndpoint . Implementers
will be invoked before the endpoint starts up. A dependency injection is not
provided for these types.
http://docs.particular.net/
NServiceBus/the-
nservicebus-host
IWantCustomInitialization
http://docs.particular.net/
NServiceBus/the-
nservicebus-host
If you want to specify your own logging, implement this interface on the class
that implements IConfigureThisEndpoint .
IWantCustomLogging
Search WWH ::




Custom Search