mirror of https://github.com/apache/activemq.git
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:
parent
ee8b51b27b
commit
83f519cd65
|
@ -59,6 +59,7 @@ public class DurableConduitBridge extends ConduitBridge {
|
||||||
for (ActiveMQDestination dest : dests) {
|
for (ActiveMQDestination dest : dests) {
|
||||||
if (isPermissableDestination(dest) && !doesConsumerExist(dest)) {
|
if (isPermissableDestination(dest) && !doesConsumerExist(dest)) {
|
||||||
DemandSubscription sub = createDemandSubscription(dest);
|
DemandSubscription sub = createDemandSubscription(dest);
|
||||||
|
sub.setStaticallyIncluded(true);
|
||||||
if (dest.isTopic()) {
|
if (dest.isTopic()) {
|
||||||
sub.getLocalInfo().setSubscriptionName(getSubscriberName(dest));
|
sub.getLocalInfo().setSubscriptionName(getSubscriberName(dest));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue