mirror of https://github.com/apache/activemq.git
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:
parent
44613adf75
commit
c7fc04d026
|
@ -334,7 +334,10 @@ public abstract class AbstractConnection implements Service, Connection, Task, C
|
|||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue