@Command(scope = "jms", name = "info", description = "Provides details about a JMS connection factory.")
public class InfoCommand extends JmsConnectionCommandSupport {
public Object doExecute() throws Exception {
ShellTable table = new ShellTable();
table.column("Property");
table.column("Value");
Map<String, String> info = getJmsService().info(connectionFactory, username, password);
for (String key : info.keySet()) {
table.addRow().addContent(key, info.get(key));