public IAmazonSQSTransport Create()
        {
            var transport = new AmazonSqsTransport(m_amazonInternalSettings, _rebusTime);

            TransportWrapperSingleton.Register(m_amazonInternalSettings.InputQueueAddress, transport);
            return(transport);
        }
Exemple #2
0
 internal static void Register(string inputQueueAddress, AmazonSqsTransport transport)
 {
     _concurrentDictionary.AddOrUpdate(inputQueueAddress ?? string.Empty, s => new TransportWrapper(transport), (s, wrapper) => new TransportWrapper(transport));
 }