activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r380180 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java
Date Thu, 23 Feb 2006 18:12:35 GMT
Author: jstrachan
Date: Thu Feb 23 10:12:31 2006
New Revision: 380180

URL: http://svn.apache.org/viewcvs?rev=380180&view=rev
Log:
minor refactor for easier debugging

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java?rev=380180&r1=380179&r2=380180&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/AbstractConnection.java
Thu Feb 23 10:12:31 2006
@@ -334,7 +334,10 @@
 
 
     public Response processMessage(Message messageSend) throws Throwable {
-        broker.send(lookupConnectionState(messageSend.getProducerId()).getContext(), messageSend);
+        ProducerId producerId = messageSend.getProducerId();
+        ConnectionState state = lookupConnectionState(producerId);
+        ConnectionContext context = state.getContext();
+        broker.send(context, messageSend);
         return null;
     }
 



Mime
View raw message