// we can't publish using just the pid
replyTo = replyTo.substring(0, replyTo.length() - 5) + "xxxxx";
declare(connection, replyTo, false);
basicPublishVolatile("response".getBytes(), "", replyTo, MessageProperties.BASIC);
QueueingConsumer.Delivery del = c.nextDelivery(500);
assertNull(del);
}
private void declare(Connection connection, String q, boolean expectedExists) throws IOException {
Channel ch = connection.createChannel();