Introduce ISendOnlyBus

Fixes https://github.com/Particular/NServiceBus/issues/2328

@SimonCropp @johnsimons please review
Since its not needed when self hosting I'd say we add a host specific way to do this. Perhaps a role or a IConfigureThisEndpointAsSendOnly:IConfigureThisEndpoint

Sent from my iPhone

> On 27 Aug 2014, at 06:19, John Simons <notifications@github.com> wrote:
> 
> In src/NServiceBus.Core/Config/ConfigureExtensions.cs:
> 
> >  // ReSharper disable UnusedParameter.Global
> >          public static IBus SendOnly(this Configure config)
> >  // ReSharper restore UnusedParameter.Global
> >          {
> >              throw new InvalidOperationException();
> >          }
> > -
> > -        /// <summary>
> > -        ///     Configures this endpoint as a send only endpoint.
> > -        /// </summary>
> > -        /// <remarks>
> > -        ///     Use this in endpoints whose only purpose is sending messages, websites are often a good example of send only endpoints.
> > -        /// </remarks>
> > -        public static void SendOnly(this BusConfiguration config)
> Yes you did remove it, but we still need it, otherwise how does a user configure our own host as sendonly?
> 
> —
> Reply to this email directly or view it on GitHub.