throw createJMSException("Fail to get messages of the topic " + destinationInfo.getPhysicalName(), e);
}
}
protected MBeanServer getMBeanServer() {
MBeanServerReference ref;
try {
ref = kernel.getGBean(MBeanServerReference.class);
return ref.getMBeanServer();
} catch (Exception e) {
return null;
}
}