Author: rajdavies
Date: Thu Aug 3 11:09:23 2006
New Revision: 428465
URL: http://svn.apache.org/viewvc?rev=428465&view=rev
Log:
copying the broker path breaks networks - if a consumer re-uses a consumed
message and forwards it on
Modified:
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Modified:
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
URL:
http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java?rev=428465&r1=428464&r2=428465&view=diff
==============================================================================
---
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
(original)
+++
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Thu Aug 3 11:09:23 2006
@@ -125,7 +125,9 @@
copy.regionDestination = regionDestination;
copy.cachedWireFormat = cachedWireFormat;
copy.cachedWireFormatData = cachedWireFormatData;
- copy.brokerPath = brokerPath;
+ //copying the broker path breaks networks - if a consumer re-uses a
consumed
+ //message and forwards it on
+ //copy.brokerPath = brokerPath;
// lets not copy the following fields
//copy.targetConsumerId = targetConsumerId;