mirror of https://github.com/apache/activemq.git
Applied patch for https://issues.apache.org/activemq/browse/AMQ-1621
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@692341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
78aac70bff
commit
eaea51654d
|
@ -140,6 +140,11 @@ public abstract class JmsConnector implements Service {
|
|||
LOG.info("JMS Connector " + getName() + " Stopped");
|
||||
}
|
||||
}
|
||||
|
||||
public void clearBridges() {
|
||||
inboundBridges.clear();
|
||||
outboundBridges.clear();
|
||||
}
|
||||
|
||||
protected abstract Destination createReplyToBridge(Destination destination, Connection consumerConnection, Connection producerConnection);
|
||||
|
||||
|
@ -318,11 +323,11 @@ public abstract class JmsConnector implements Service {
|
|||
}
|
||||
|
||||
protected void removeInboundBridge(DestinationBridge bridge) {
|
||||
inboundBridges.add(bridge);
|
||||
inboundBridges.remove(bridge);
|
||||
}
|
||||
|
||||
protected void removeOutboundBridge(DestinationBridge bridge) {
|
||||
outboundBridges.add(bridge);
|
||||
outboundBridges.remove(bridge);
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
|
Loading…
Reference in New Issue