I'm in the process of upgrading my application from NServiceBus 4 to 5.
I have a class that implements IWantToRunWhenBusStartsAndStops
and on the Start()
method I print out the EndpointName - taking it from NServiceBus.Configure.EndpointName
On NServiceBus 5 it is deprecated and I want to do it correctly. How can I get the EndpointName?