Map<String, Object> queueArguments = new HashMap<String, Object>();
if(endpoint.getTimeToLive() != null)
queueArguments.put(TTL_QUEUE_ARGUMENT, endpoint.getTimeToLive());
//Declare queue
this.queue = new Queue(this.endpoint.queueName, this.endpoint.durable, this.endpoint.exclusive, this.endpoint.autodelete, queueArguments);
this.endpoint.getAmqpAdministration().declareQueue(queue);
LOG.info("Declared queue {}", this.queue.getName());
//Is this a header exchange? Bind the key/value pair(s)
if(exchange instanceof HeadersExchange) {