LegacyCanonicalQueueAddress TranslatePhysicalAddress(string physicalAddress)
        {
            var sqlAddress = QueueAddress.Parse(physicalAddress);

            string specifiedSchema, _;

            queueSettings.TryGet(sqlAddress.Table, out specifiedSchema, out _); //we ignore catalog

            var schema = specifiedSchema ?? sqlAddress.Schema ?? DefaultSchema;

            return(new LegacyCanonicalQueueAddress(sqlAddress.Table, schema));
        }
Exemplo n.º 2
0
        CanonicalQueueAddress TranslatePhysicalAddress(string address)
        {
            var transportAddress = QueueAddress.Parse(address);

            return(GetCanonicalForm(transportAddress));
        }