mirror of https://github.com/apache/activemq.git
make ProducerBrokerExchange mutable if the destination is composite
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@514143 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1dc9d9d355
commit
1191d5eeb2
|
@ -992,7 +992,7 @@ public class TransportConnection implements Service,Connection,Task,CommandVisit
|
||||||
ProducerState producerState=ss.getProducerState(id);
|
ProducerState producerState=ss.getProducerState(id);
|
||||||
if(producerState!=null&&producerState.getInfo()!=null){
|
if(producerState!=null&&producerState.getInfo()!=null){
|
||||||
ProducerInfo info=producerState.getInfo();
|
ProducerInfo info=producerState.getInfo();
|
||||||
result.setMutable(info.getDestination()==null);
|
result.setMutable(info.getDestination()==null||info.getDestination().isComposite());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
producerExchanges.put(id,result);
|
producerExchanges.put(id,result);
|
||||||
|
|
Loading…
Reference in New Issue