setSystemProperty(ClientProperties.QPID_DECLARE_EXCHANGES_PROP_NAME, "false");
Session session2 = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
String exchangeName2 = getTestQueueName() + "2";
Queue queue2 = session2.createQueue("direct://" + exchangeName2 + "/queue/queue");
session2.createProducer(queue2);
//close the session to ensure any previous commands were fully processed by
//the broker before observing their effect
session2.close();