Added support for individualizing endpoint instances

@johnsimons @SimonCropp review please


Left to do:

- [ ] Add doco
Since we're gradually introducing this, the user might be on a transports
version that hasn't been updated to set a default?

On Fri, Nov 21, 2014 at 6:03 AM, John Simons <notifications@github.com>
wrote:

> In src/NServiceBus.Core/Transports/ConfigureTransport.cs:
>
> >          static string GetConfigFileIfExists()
> >          {
> >              return AppDomain.CurrentDomain.SetupInformation.ConfigurationFile ?? "App.config";
> >          }
> >
> > +        static string GetDefaultEndpointAddress(ReadOnlySettings settings)
> > +        {
> > +            if (!settings.GetOrDefault<bool>("IndividualizeEndpointAddress"))
> > +            {
> > +                return settings.EndpointName();
> > +            }
> > +
> > +            var discriminator = settings.Get<string>("EndpointInstanceDiscriminator");
> > +
> > +            if (discriminator == null)
>
> because we setting a default, I can't see how this can ever be null?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Particular/NServiceBus/pull/2571/files#r20698623>.
>