activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1154964 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx: NetworkConnectorView.java NetworkConnectorViewMBean.java
Date Mon, 08 Aug 2011 13:48:10 GMT
Author: tabish
Date: Mon Aug  8 13:48:10 2011
New Revision: 1154964

URL: http://svn.apache.org/viewvc?rev=1154964&view=rev
Log:
apply patch for: https://issues.apache.org/jira/browse/AMQ-3439

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorView.java
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorViewMBean.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorView.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorView.java?rev=1154964&r1=1154963&r2=1154964&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorView.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorView.java
Mon Aug  8 13:48:10 2011
@@ -69,11 +69,19 @@ public class NetworkConnectorView implem
     public boolean isDynamicOnly() {
         return connector.isDynamicOnly();
     }
-    
+
     public boolean isDuplex() {
         return connector.isDuplex();
     }
 
+    public boolean isSuppressDuplicateQueueSubscriptions() {
+        return connector.isSuppressDuplicateQueueSubscriptions();
+    }
+
+    public boolean isSuppressDuplicateTopicSubscriptions() {
+        return connector.isSuppressDuplicateTopicSubscriptions();
+    }
+
     public void setBridgeTempDestinations(boolean bridgeTempDestinations) {
         connector.setBridgeTempDestinations(bridgeTempDestinations);
     }
@@ -118,4 +126,12 @@ public class NetworkConnectorView implem
     public void setDecreaseNetworkConsumerPriority(boolean decreaseNetworkConsumerPriority)
{
         connector.setDecreaseNetworkConsumerPriority(decreaseNetworkConsumerPriority);
     }
+
+    public void setSuppressDuplicateQueueSubscriptions(boolean val) {
+        connector.setSuppressDuplicateQueueSubscriptions(val);
+    }
+
+    public void setSuppressDuplicateTopicSubscriptions(boolean val) {
+        connector.setSuppressDuplicateTopicSubscriptions(val);
+    }
 }

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorViewMBean.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorViewMBean.java?rev=1154964&r1=1154963&r2=1154964&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorViewMBean.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/NetworkConnectorViewMBean.java
Mon Aug  8 13:48:10 2011
@@ -37,9 +37,13 @@ public interface NetworkConnectorViewMBe
     boolean isDispatchAsync();
 
     boolean isDynamicOnly();
-    
+
     boolean isDuplex();
 
+    boolean isSuppressDuplicateQueueSubscriptions();
+
+    boolean isSuppressDuplicateTopicSubscriptions();
+
     void setBridgeTempDestinations(boolean bridgeTempDestinations);
 
     void setConduitSubscriptions(boolean conduitSubscriptions);
@@ -60,4 +64,8 @@ public interface NetworkConnectorViewMBe
 
     void setDecreaseNetworkConsumerPriority(boolean decreaseNetworkConsumerPriority);
 
+    void setSuppressDuplicateQueueSubscriptions(boolean val);
+
+    void setSuppressDuplicateTopicSubscriptions(boolean val);
+
 }



Mime
View raw message