private static PocoListenerConfiguration HydrateListenerConfiguration(dynamic queryResult) { return(new PocoListenerConfiguration { ActorType = Type.GetType(queryResult.ActorType, true), SourceQueue = DebugModeStringHandler.MakeDebugIdentifierValue(queryResult.SourceQueue) }); }
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 }); }
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 }); }