Channel channel = brokerSetup.getChannel();
String routingKey = "test.key";
channel.exchangeDeclare(TEST_EXCHANGE, "topic");
brokerSetup.declareAndBindQueue(TEST_QUEUE, TEST_EXCHANGE, routingKey);
channel.queueDeclarePassive(TEST_QUEUE);
String body = "test.body";
channel.basicPublish(TEST_EXCHANGE, routingKey, new BasicProperties(), body.getBytes());
GetResponse response = channel.basicGet(TEST_QUEUE, true);