Пример #1
0
 private static PocoListenerConfiguration HydrateListenerConfiguration(dynamic queryResult)
 {
     return(new PocoListenerConfiguration
     {
         ActorType = Type.GetType(queryResult.ActorType, true),
         SourceQueue = DebugModeStringHandler.MakeDebugIdentifierValue(queryResult.SourceQueue)
     });
 }
Пример #2
0
 private static PocoExchangeConfiguration HydrateExchangeConfiguration(dynamic data)
 {
     return(new PocoExchangeConfiguration
     {
         AlternateExchangeIdentifier = DebugModeStringHandler.MakeDebugIdentifierValue(data.AlternateExchangeIdentifier),
         ExchangeIdentifier = DebugModeStringHandler.MakeDebugIdentifierValue(data.ExchangeIdentifier),
         RoutingKeyFormat = data.RoutingKeyFormat,
         Type = data.Type
     });
 }
Пример #3
0
 private static PocoQueueConfiguration HydrateQueueConfiguration(dynamic data)
 {
     return(new PocoQueueConfiguration
     {
         ExchangeIdentifier = DebugModeStringHandler.MakeDebugIdentifierValue(data.ExchangeIdentifier),
         QueueIdentifier = DebugModeStringHandler.MakeDebugIdentifierValue(data.QueueIdentifier),
         PollingInterval = data.PollingInterval,
         QueueReadInterval = data.QueueReadInterval,
         QueueReadMessageCountThreshold = data.QueueReadMessageCountThreshold,
         RoutingKey = data.RoutingKey,
         TargetTimeToClearQueue = data.TargetTimeToClearQueue,
         SystemIdentifier = data.SystemIdentifier
     });
 }