Set<Module> modules = isEnterprise ? ImmutableSet.<Module> of(new NullLoggingModule(),
new EnterpriseConfigurationModule()) : ImmutableSet
.<Module> of(new NullLoggingModule());
RestContext<AzureQueueClient, AzureQueueAsyncClient> context = new RestContextFactory()
.createContext("azurequeue", account, encodedKey, modules);
try {
if (purgeQueues(queueName, context)) {
logger.info("pausing 60 seconds before recreating queues");