mirror of https://github.com/apache/activemq.git
commit
1dcc7d4b2c
|
@ -77,7 +77,7 @@ public class SelectorAwareVirtualTopicInterceptor extends VirtualTopicIntercepto
|
|||
LOG.debug("No active consumer match found. Will try cache if configured...");
|
||||
|
||||
if (selectorCachePlugin != null) {
|
||||
final Set<String> selectors = selectorCachePlugin.getSelector(dest.getActiveMQDestination().getQualifiedName());
|
||||
final Set<String> selectors = selectorCachePlugin.getSelectorsForDestination(dest.getActiveMQDestination().getQualifiedName());
|
||||
if (selectors != null) {
|
||||
for (String selector : selectors) {
|
||||
try {
|
||||
|
|
|
@ -248,13 +248,6 @@ public class SubQueueSelectorCacheBroker extends BrokerFilter implements Runnabl
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The JMS selector for the specified {@code destination}
|
||||
*/
|
||||
public Set<String> getSelector(final String destination) {
|
||||
return subSelectorCache.get(destination);
|
||||
}
|
||||
|
||||
/**
|
||||
* Persist the selector cache every {@code MAX_PERSIST_INTERVAL}ms.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue