mirror of https://github.com/apache/activemq.git
fix deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b0538fcc66
commit
241971a133
|
@ -1173,10 +1173,8 @@ public class TransportConnection implements Service,Connection,Task,CommandVisit
|
|||
synchronized(consumerExchanges){
|
||||
result=new ConsumerBrokerExchange();
|
||||
ConnectionState state=lookupConnectionState(id);
|
||||
synchronized(this){
|
||||
context=state.getContext();
|
||||
result.setConnectionContext(context);
|
||||
}
|
||||
context=state.getContext();
|
||||
result.setConnectionContext(context);
|
||||
SessionState ss=state.getSessionState(id.getParentId());
|
||||
if(ss!=null){
|
||||
ConsumerState cs=ss.getConsumerState(id);
|
||||
|
|
Loading…
Reference in New Issue