activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1061287 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java
Date Thu, 20 Jan 2011 13:11:19 GMT
Author: dejanb
Date: Thu Jan 20 13:11:19 2011
New Revision: 1061287

URL: http://svn.apache.org/viewvc?rev=1061287&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-2821 - destination gc, use proper connection context

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java?rev=1061287&r1=1061286&r2=1061287&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java
Thu Jan 20 13:11:19 2011
@@ -946,7 +946,7 @@ public class RegionBroker extends EmptyB
 
             if (list.isEmpty() == false) {
 
-                ConnectionContext context = new ConnectionContext();
+                ConnectionContext context = BrokerSupport.getConnectionContext(this);
                 context.setBroker(this);
 
                 for (BaseDestination dest : list) {



Mime
View raw message