public void setCacheLimit(int cacheLimit) {
    this.cacheLimit = cacheLimit;
  }
Specify the maximum number of entries for the resolved destination cache.
Default is 1024.
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AmbariSubscriptionRegistry.java