//Create URL enabling SSL at the connection, overriding the false at the brokerlist level
String url = "amqp://guest:guest@test/?ssl='true'&brokerlist='tcp://localhost:%s?ssl='false''";
url = String.format(url,QpidBrokerTestCase.DEFAULT_SSL_PORT);
Connection con = getConnection(new AMQConnectionURL(url));
assertNotNull("connection should be successful", con);
Session ssn = con.createSession(false,Session.AUTO_ACKNOWLEDGE);
assertNotNull("create session should be successful", ssn);
}
}