this.config = config;
this.connectionName =
options.getName() == null ? String.format("cxn-%s", CONNECTION_COUNTER.incrementAndGet())
: options.getName();
consumerThreadPool =
options.getConsumerExecutor() == null ? Executors.newCachedThreadPool(new NamedThreadFactory(
String.format("rabbitmq-%s-consumer", connectionName))) : options.getConsumerExecutor();
}