protected override void BeforeTermination()
{
EventFilter.Warning(start: "received dead letter").Mute();
EventFilter.Warning(new Regex("received dead letter.*(InboundPayload|Disassociate)")).Mute();
systemB.EventStream.Publish(new Mute(new WarningFilter(new RegexMatcher(new Regex("received dead letter.*(InboundPayload|Disassociate)"))),
new ErrorFilter(typeof(EndpointException)),
new ErrorFilter(new StartsWithString("AssociationError"))));
base.BeforeTermination();
}