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:
Robert Davies 2007-03-03 12:41:34 +00:00
parent 1dc9d9d355
commit 1191d5eeb2
1 changed files with 1 additions and 1 deletions

View File

@ -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);