if (advisory != null && advisory.getDestination() != null && info != null && info.getDestination() != null) {
ActiveMQDestination advisoryDestination = advisory.getDestination();
ActiveMQDestination destination = info.getDestination();
if (advisoryDestination.isConsumerAdvisory()) {
ActiveMQDestination match = advisoryDestination.getDestinationBeingAdvised();
return match.matches(destination) || matchGeneralAdvisory(advisory, destination);
}
}
return result;
}