spec.setDestination("test");
spec.setMinSession(1);
spec.setMaxSession(1);
HornetQActivation activation = new HornetQActivation(ra, new MessageEndpointFactory(), spec);
activation.start();
String cons = control.listConnectionsAsJSON();
JMSConnectionInfo[] jmsConnectionInfos = JMSConnectionInfo.from(cons);
assertEquals(1, jmsConnectionInfos.length);
assertEquals("user", jmsConnectionInfos[0].getUsername());
assertEquals("my-client-id", jmsConnectionInfos[0].getClientID());
activation.stop();
ra.stop();
}
finally