activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1324765 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
Date Wed, 11 Apr 2012 13:54:12 GMT
Author: tabish
Date: Wed Apr 11 13:54:11 2012
New Revision: 1324765

URL: http://svn.apache.org/viewvc?rev=1324765&view=rev
Log:
Fix for: https://issues.apache.org/jira/browse/AMQ-3788

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java?rev=1324765&r1=1324764&r2=1324765&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
Wed Apr 11 13:54:11 2012
@@ -24,6 +24,7 @@ import java.util.Properties;
 import java.util.concurrent.Executor;
 import java.util.concurrent.ScheduledThreadPoolExecutor;
 import java.util.concurrent.ThreadFactory;
+
 import javax.jms.Connection;
 import javax.jms.ConnectionFactory;
 import javax.jms.ExceptionListener;
@@ -33,6 +34,7 @@ import javax.jms.QueueConnectionFactory;
 import javax.jms.TopicConnection;
 import javax.jms.TopicConnectionFactory;
 import javax.naming.Context;
+
 import org.apache.activemq.blob.BlobTransferPolicy;
 import org.apache.activemq.jndi.JNDIBaseStorable;
 import org.apache.activemq.management.JMSStatsImpl;
@@ -220,9 +222,11 @@ public class ActiveMQConnectionFactory e
         return createActiveMQConnection(userName, password);
     }
 
+    /**
+     * @returns the StatsImpl associated with this ConnectionFactory.
+     */
     public StatsImpl getStats() {
-        // TODO
-        return null;
+        return this.factoryStats;
     }
 
     // /////////////////////////////////////////////



Mime
View raw message