@Override public void processIncoming(DistributionManager dm, String adviseePath, boolean removeProfile, boolean exchangeProfiles, final List<Profile> replyProfiles, LogWriterI18n logger) { GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if (cache != null) { AbstractGatewaySender sender = (AbstractGatewaySender)cache .getGatewaySender(adviseePath); handleDistributionAdvisee(sender, removeProfile, exchangeProfiles, replyProfiles); } }
@Override public void processIncoming(DistributionManager dm, String adviseePath, boolean removeProfile, boolean exchangeProfiles, final List<Profile> replyProfiles) { Cache cache = GemFireCacheImpl.getInstance(); if (cache != null) { AbstractGatewaySender sender = (AbstractGatewaySender)((GemFireCacheImpl)cache) .getGatewaySender(adviseePath); handleDistributionAdvisee(sender, removeProfile, exchangeProfiles, replyProfiles); } }