protected override bool IsMatchingHeader(HeaderInfo header)
 {
     return header.Key.EndsWith(".From", StringComparison.OrdinalIgnoreCase)             ||
            header.Key.EndsWith(".To", StringComparison.OrdinalIgnoreCase)               ||
            header.Key.EndsWith(".DestinationSites", StringComparison.OrdinalIgnoreCase) ||
            header.Key.EndsWith(".OriginatingSite", StringComparison.OrdinalIgnoreCase)  ||
            header.Key.EndsWith(".Header.RouteTo", StringComparison.OrdinalIgnoreCase);
 }
Exemple #2
0
 protected override bool IsMatchingHeader(HeaderInfo header)
 {
     return header.Key.EndsWith(".SagaType", StringComparison.OrdinalIgnoreCase)             ||
            header.Key.EndsWith(".SagaDataType", StringComparison.OrdinalIgnoreCase)         ||
            header.Key.EndsWith(".OriginatingSagaId", StringComparison.OrdinalIgnoreCase)    ||
            header.Key.EndsWith(".OriginatingSagaType", StringComparison.OrdinalIgnoreCase)  ||
            header.Key.EndsWith(".IsSagaTimeoutMessage", StringComparison.OrdinalIgnoreCase) ||
            header.Key.EndsWith(".SagaId", StringComparison.OrdinalIgnoreCase);
 }
 protected override bool IsMatchingHeader(HeaderInfo header)
 {
     return !header.Key.StartsWith("NServiceBus", StringComparison.OrdinalIgnoreCase)       ||
            header.Key.EndsWith("Version", StringComparison.OrdinalIgnoreCase)              ||
            header.Key.EndsWith("EnclosedMessageTypes", StringComparison.OrdinalIgnoreCase) ||
            header.Key.EndsWith("Retries", StringComparison.OrdinalIgnoreCase)              ||
            header.Key.EndsWith("RelatedTo", StringComparison.OrdinalIgnoreCase)            ||
            header.Key.EndsWith("ContentType", StringComparison.OrdinalIgnoreCase)          ||
            header.Key.EndsWith("IsDeferedMessage", StringComparison.OrdinalIgnoreCase);
 }
 protected override bool IsMatchingHeader(HeaderInfo header)
 {
     return header.Key.EndsWith("TimeSent", StringComparison.OrdinalIgnoreCase)          ||
            header.Key.EndsWith("ProcessingStarted", StringComparison.OrdinalIgnoreCase) ||
            header.Key.EndsWith("ProcessingEnded", StringComparison.OrdinalIgnoreCase);
 }
Exemple #5
0
 protected override bool IsMatchingHeader(HeaderInfo header)
 {
     return header.Key.StartsWith("NServiceBus.ExceptionInfo", StringComparison.OrdinalIgnoreCase) ||
            header.Key.EndsWith("FailedQ", StringComparison.OrdinalIgnoreCase)                     ||
            header.Key.EndsWith("TimeOfFailure", StringComparison.OrdinalIgnoreCase);
 }
 protected abstract bool IsMatchingHeader(HeaderInfo header);