public void DeleteQueuesForEndpoint() { QueueDeletion.DeleteQueuesForEndpoint( uri: "amqp://*****:*****@localhost:5672", endpointName: "myendpoint"); QueueDeletion.DeleteQueue( uri: "amqp://*****:*****@localhost:5672", queueName: "error"); QueueDeletion.DeleteQueue( uri: "amqp://*****:*****@localhost:5672", queueName: "audit"); }
public void Setup() { QueueDeletion.DeleteQueuesForEndpoint("amqp://*****:*****@localhost:5672", endpointName); QueueDeletion.DeleteQueuesForEndpoint("amqp://*****:*****@localhost:5672", errorQueueName); }