{
final String queue = ConfigUtils.resolveParameter (AmqpDriverTest.configuration, "consumer.amqp.queue", String.class, "");
final boolean autoAck = ConfigUtils.resolveParameter (AmqpDriverTest.configuration, "consumer.amqp.auto_ack", Boolean.class, true);
final boolean exclusive = ConfigUtils.resolveParameter (AmqpDriverTest.configuration, "consumer.amqp.exclusive", Boolean.class, true);
final IOperationCompletionHandler<String> handler = new TestLoggingHandler<String> ("consume");
final IAmqpConsumer consumeCallback = new ConsumerHandler ();
final IResult<String> r = this.wrapper.basicConsume (queue, this.clientId, exclusive, autoAck, consumeCallback, handler);
Assert.assertTrue ("Register consumer", this.clientId.equals (r.getResult ()));
}