private void declareQueue(String exch, String routkey, String qname) throws Exception
{
Connection conn = new Connection();
if (!_broker.equals(QpidBrokerTestCase.EXTERNAL) && !isBroker08())
{
conn.connect("localhost", QpidBrokerTestCase.DEFAULT_PORT, "test", "guest", "guest",false);
}
else
{
throw new Exception("unsupported test " +
"configuration. broker: " + _broker + " version > 0.10 "+ !isBroker08() + " This test must be run on a local broker using protocol 0.10 or higher.");