AmqpValue section = new AmqpValue(new Declare());
Transfer transfer = new Transfer();
transfer.setPayload(section.encode(encoder).asByteBuffer());
transfer.setDeliveryTag(DELIVERY_TAG);
transfer.setSettled(Boolean.FALSE);
final Object lock = _endpoint.getLock();
synchronized(lock)
{