コード例 #1
0
  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;
  }
コード例 #2
0
  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;
  }