https://issues.apache.org/jira/browse/AMQ-2327 - fix regression in org.apache.activemq.network.NetworkBrokerDetachTest - need to conduit statically included durables when dynamicOnly=false (local networkSubs)

This commit is contained in:
gtully 2013-10-01 16:04:13 +01:00
parent ee8b51b27b
commit 83f519cd65
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class DurableConduitBridge extends ConduitBridge {
for (ActiveMQDestination dest : dests) {
if (isPermissableDestination(dest) && !doesConsumerExist(dest)) {
DemandSubscription sub = createDemandSubscription(dest);
sub.setStaticallyIncluded(true);
if (dest.isTopic()) {
sub.getLocalInfo().setSubscriptionName(getSubscriberName(dest));
}