public static void pingJms(HandlerContext handlerCtx) {
try {
String poolName = (String) handlerCtx.getInputValue("poolName");
ConnectorRuntime connectorRuntime = GuiUtil.getHabitat().getComponent(ConnectorRuntime.class);
PoolInfo poolInfo = new PoolInfo(poolName);
connectorRuntime.pingConnectionPool(poolInfo);
GuiUtil.prepareAlert("success", GuiUtil.getMessage("msg.PingSucceed"), null);
} catch (Exception ex) {
GuiUtil.prepareAlert("error", GuiUtil.getMessage("msg.Error"), ex.getMessage());
}
}