minor refactor for easier debugging

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-23 18:12:31 +00:00
parent 44613adf75
commit c7fc04d026
1 changed files with 4 additions and 1 deletions

View File

@ -334,7 +334,10 @@ public abstract class AbstractConnection implements Service, Connection, Task, C
public Response processMessage(Message messageSend) throws Throwable { 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; return null;
} }