//Объявляем очередь с которой будем работать. Если такой очереди ещё нет, то создатся. Если нет, нужно параметры типа durable должны совпадать иначе будет ошибка. В целом эти параметры можно посмотреть в админке RabbitMQ
channel.QueueDeclare(queue:"parr-espp-templates",
durable:true,//If you want to make sure your messages are persisted, you need to create a durable queue. To do this, simply set the durable flag to true when creating the queue.
exclusive:false,
autoDelete:false,
arguments:argums);
//перебираем строки и отправляем строки сообщениями
//If you don’t mark your messages as persistent, then RabbitMQ will store them in memory. This is fine if you’re just playing around or building a prototype. But if you’re building a production system, then you need to make sure that your messages are persisted to disk so that they’re not lost if the server crashes.
//Говорим менеджеру RabbitMq при получении хранить сообщения на диске
props.DeliveryMode=2;
//время жизни в мс. на этапе отладки сделаем коротким чтобы не устраивать помойку