copying the broker path breaks networks - if a consumer re-uses a consumed

message and forwards it on

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@428465 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-08-03 18:09:23 +00:00
parent a974625016
commit 51829f56a1
1 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,9 @@ abstract public class Message extends BaseCommand implements MarshallAware, Mess
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;