public static AzureESBConfiguration Configuration()
        {
            var section       = ConfigurationSectionProvider.Open <AzureESBSection>("shuttle", "azureesb");
            var configuration = new AzureESBConfiguration();

            if (section != null)
            {
                configuration.OperationRetryCount = section.OperationRetryCount;
                configuration.TransportType       = section.TransportType;
                configuration.SharedAccessKeyName = section.SharedAccessKeyName;
            }

            return(configuration);
        }
Esempio n. 2
0
 public AzureESBQueueFactory(AzureESBConfiguration configuration)
 {
     Configuration = configuration;
 }