activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r514143 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Date Sat, 03 Mar 2007 12:41:35 GMT
Author: rajdavies
Date: Sat Mar  3 04:41:34 2007
New Revision: 514143

URL: http://svn.apache.org/viewvc?view=rev&rev=514143
Log:
make ProducerBrokerExchange mutable if the destination is composite

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java?view=diff&rev=514143&r1=514142&r2=514143
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Sat Mar  3 04:41:34 2007
@@ -992,7 +992,7 @@
                     ProducerState producerState=ss.getProducerState(id);
                     if(producerState!=null&&producerState.getInfo()!=null){
                         ProducerInfo info=producerState.getInfo();
-                        result.setMutable(info.getDestination()==null);
+                        result.setMutable(info.getDestination()==null||info.getDestination().isComposite());
                     }
                 }
                 producerExchanges.put(id,result);



Mime
View raw message