WIP ServiceControl external integrations

Duh, of course!

I stand corrected!

On Wed, Sep 24, 2014 at 8:38 PM, Szymon Pobiega <notifications@github.com>
wrote:

> In Content/ServiceControl/external-integrations.md:
>
> > + * The processing of the message (e.g. which endpoint sent and received the message)
> > + * The failure cause (e.g. the exception type and message)
> > + * The message itself (e.g. the headers and, if using non-binary serialization, also the body)
> > +
> > +### Subscribing for failed message notifications
> > +
> > +Assuming an existing NServiceBus endpoint is to be used, these steps need to be done in order to get the failed message notifications from ServiceControl
> > +
> > + * Reference the assembly containing the contracts
> > +
> > +`Install-Package ServiceControl.Contracts`
> > +
> > + * Configure the endpoint to recognize the contracts as valid NServiceBus messages. Following line needs to be added to the bus configuration code:
> > +
> > +```C#
> > +.DefiningEventsAs(t => typeof(IEvent).IsAssignableFrom(t) || t.Namespace != null && t.Namespace.StartsWith("ServiceControl.Contracts"))
>
> && has higher precedence so no parentheses are necessary (it was actually
> auto-generated by R# when inlining a method)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Particular/docs.particular.net/pull/415/files#r17991162>
> .
>