activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r366153 - /incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java
Date Thu, 05 Jan 2006 10:51:14 GMT
Author: jstrachan
Date: Thu Jan  5 02:51:12 2006
New Revision: 366153

URL: http://svn.apache.org/viewcvs?rev=366153&view=rev
Log:
tidied up code a little

Modified:
    incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java

Modified: incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java?rev=366153&r1=366152&r2=366153&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java
(original)
+++ incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java
Thu Jan  5 02:51:12 2006
@@ -177,6 +177,11 @@
         info.setUseInboundSession(useInboundSession);
     }
 
+    public boolean isUseInboundSessionEnabled() {
+        return info.isUseInboundSessionEnabled();
+    }
+
+    // Redelivery policy configuration
     public Long getInitialRedeliveryDelay() {
         return info.getInitialRedeliveryDelay();
     }
@@ -193,10 +198,6 @@
         return info.getRedeliveryUseExponentialBackOff();
     }
 
-    public boolean isUseInboundSessionEnabled() {
-        return info.isUseInboundSessionEnabled();
-    }
-
     public void setInitialRedeliveryDelay(Long value) {
         info.setInitialRedeliveryDelay(value);
     }
@@ -209,6 +210,12 @@
         info.setRedeliveryBackOffMultiplier(value);
     }
 
+    public void setRedeliveryUseExponentialBackOff(Boolean value) {
+        info.setRedeliveryUseExponentialBackOff(value);
+    }
+
+
+    // Prefetch policy configuration
     public Integer getDurableTopicPrefetch() {
         return info.getDurableTopicPrefetch();
     }
@@ -247,10 +254,6 @@
 
     public void setQueuePrefetch(Integer queuePrefetch) {
         info.setQueuePrefetch(queuePrefetch);
-    }
-
-    public void setRedeliveryUseExponentialBackOff(Boolean value) {
-        info.setRedeliveryUseExponentialBackOff(value);
     }
 
     public void setTopicPrefetch(Integer topicPrefetch) {



Mime
View raw message