コード例 #1
0
 protected override void MapHeaderKeys()
 {
     ConditionsMap.Add(h => h.Key.EndsWith(".From", StringComparison.OrdinalIgnoreCase), h => From = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".To", StringComparison.OrdinalIgnoreCase), h => To     = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".DestinationSites", StringComparison.OrdinalIgnoreCase), h => DestinationSites = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".OriginatingSite", StringComparison.OrdinalIgnoreCase), h => OriginatingSite   = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".Header.RouteTo", StringComparison.OrdinalIgnoreCase), h => RouteTo            = h.Value);
 }
コード例 #2
0
 protected override void MapHeaderKeys()
 {
     ConditionsMap.Add(h => h.Key.EndsWith(".SagaType", StringComparison.OrdinalIgnoreCase), h => SagaType                         = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".SagaDataType", StringComparison.OrdinalIgnoreCase), h => SagaDataType                 = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".OriginatingSagaId", StringComparison.OrdinalIgnoreCase), h => OriginatingSagaId       = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".OriginatingSagaType", StringComparison.OrdinalIgnoreCase), h => OriginatingSagaType   = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".IsSagaTimeoutMessage", StringComparison.OrdinalIgnoreCase), h => IsSagaTimeoutMessage = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(".SagaId", StringComparison.OrdinalIgnoreCase), h => SagaId = h.Value);
 }
コード例 #3
0
 protected override void MapHeaderKeys()
 {
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.Version, StringComparison.OrdinalIgnoreCase), h => Version = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.EnclosedMessageTypes, StringComparison.OrdinalIgnoreCase), h => EnclosedMessageTypes = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.RelatedTo, StringComparison.OrdinalIgnoreCase), h => RelatedTo               = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.MessageId, StringComparison.OrdinalIgnoreCase), h => MessageId               = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.ContentType, StringComparison.OrdinalIgnoreCase), h => ContentType           = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.IsDeferedMessage, StringComparison.OrdinalIgnoreCase), h => IsDeferedMessage = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.ConversationId, StringComparison.OrdinalIgnoreCase), h => ConversationId     = h.Value);
 }
コード例 #4
0
 protected override void MapHeaderKeys()
 {
     ConditionsMap.Add(h => h.Key.EndsWith("TimeSent", StringComparison.OrdinalIgnoreCase), h => TimeSent = h.Value.ParseHeaderDate());
     ConditionsMap.Add(h => h.Key.EndsWith("ProcessingStarted", StringComparison.OrdinalIgnoreCase), h => ProcessingStarted = h.Value.ParseHeaderDate());
     ConditionsMap.Add(h => h.Key.EndsWith("ProcessingEnded", StringComparison.OrdinalIgnoreCase), h => ProcessingEnded     = h.Value.ParseHeaderDate());
 }
コード例 #5
0
 protected override void MapHeaderKeys()
 {
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.ExceptionStackTrace, StringComparison.OrdinalIgnoreCase), h => ExceptionInfo = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.FailedQueue, StringComparison.OrdinalIgnoreCase), h => FailedQueue           = h.Value);
     ConditionsMap.Add(h => h.Key.EndsWith(MessageHeaderKeys.TimeOfFailure, StringComparison.OrdinalIgnoreCase), h => TimeOfFailure       = h.Value.ParseHeaderDate().ToString());
 }