git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-04-30 06:52:36 +00:00
parent 7a238556e3
commit a61e5bce17
2 changed files with 1 additions and 4 deletions

View File

@ -57,10 +57,6 @@ public class ConduitBridge extends DemandForwardingBridge {
}
protected boolean addToAlreadyInterestedConsumers(ConsumerInfo info) {
if (info.getSelector() != null) {
return false;
}
// search through existing subscriptions and see if we have a match
boolean matched = false;
DestinationFilter filter = DestinationFilter.parseFilter(info.getDestination());

View File

@ -37,6 +37,7 @@ public class DemandSubscription {
DemandSubscription(ConsumerInfo info) {
remoteInfo = info;
localInfo = info.copy();
localInfo.setSelector(null);
localInfo.setBrokerPath(info.getBrokerPath());
localInfo.setNetworkSubscription(true);
remoteSubsIds.add(info.getConsumerId());