ConnectionFactory cf1 = JMSUtil.createFactory(NettyConnectorFactory.class.getName(),
JMSServerControl2Test.CONNECTION_TTL,
JMSServerControl2Test.PING_PERIOD);
Connection connection = cf1.createConnection();
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
TemporaryTopic temporaryTopic = session.createTemporaryTopic();
// create a regular message consumer
MessageConsumer consumer = session.createConsumer(queue);
jsonStr = control.listConnectionsAsJSON();