public override string ToTransportAddress(LogicalAddress logicalAddress) { var nonEmptyParts = new[] { logicalAddress.EndpointInstance.Endpoint, logicalAddress.Qualifier, logicalAddress.EndpointInstance.Discriminator }.Where(p => !string.IsNullOrEmpty(p)); var tableName = string.Join(".", nonEmptyParts); string schemaName; logicalAddress.EndpointInstance.Properties.TryGetValue(SettingsKeys.SchemaPropertyKey, out schemaName); var queueAddress = new QueueAddress(tableName, schemaName); return(queueAddress.ToString()); }
CanonicalQueueAddress TranslatePhysicalAddress(string address) { var transportAddress = QueueAddress.Parse(address); return(GetCanonicalForm(transportAddress)); }