/// <summary> /// Constructor. /// </summary> /// <param name="queueName">Name of the queue to be connected to.</param> /// <param name="deploymentId">The deployment id of the Azure service hosting this silo. It will be concatenated to the queueName.</param> /// <param name="storageConnectionString">Connection string for the Azure storage account used to host this table.</param> public RabbitMessageQueueDataManager(string queueName, string deploymentId, string storageConnectionString) { QueueName = string.Concat(deploymentId, "-", queueName); _queueClient = RabbitMessageQueueUtils.GetQueueChanel(storageConnectionString); _basicProperties = GetBasicParameters(); }
/// <summary> /// Constructor. /// </summary> /// <param name="queueName">Name of the queue to be connected to.</param> /// <param name="storageConnectionString">Connection string for the Azure storage account used to host this table.</param> public RabbitMessageQueueDataManager(string queueName, string storageConnectionString) { QueueName = queueName; _queueClient = RabbitMessageQueueUtils.GetQueueChanel(storageConnectionString); _basicProperties = GetBasicParameters(); }