requestBuilder.setQueue (queue);
requestBuilder.setConsumer (consumer);
requestBuilder.setExclusive (exclusive);
requestBuilder.setAutoAck (autoAck);
requestBuilder.setExtra (ByteString.EMPTY);
final Message message = new Message (AmqpMessage.CONSUME_REQUEST, requestBuilder.build ());
this.pendingConsumers.put (consumer, consumerCallback);
final CallbackCompletionDeferredFuture<Void> consumeFuture = CallbackCompletionDeferredFuture.create (Void.class);
this.pendingRequests.register (consumer + "//consume", consumeFuture);
// FIXME: how should we handle the next completion?
this.sendRequest (message, token, Void.class);