public SubscriptionDetails[] getSubscriptions(String topic, boolean isDurable) { SubscriptionDetails[] subsDetails = null; try { subsDetails = RegistryClient.getSubscriptions(topic); } catch (RegistryClientException e) { log.warn("Erro while retrieving subscription details : " + e.getMessage()); } return subsDetails; }
public QueueDetails[] getQueues(boolean isDurable) { QueueDetails[] queueDetails = null; try { queueDetails = RegistryClient.getQueues(); } catch (RegistryClientException e) { log.warn("Erro while retrieving queue details : " + e.getMessage()); } return queueDetails; }