applied patch from Mathew Kuppe for AMQ-849 - many thanks!

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@426438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-07-28 08:41:07 +00:00
parent 8c9a6ebb53
commit c36ea1aa9b
1 changed files with 11 additions and 0 deletions

View File

@ -119,6 +119,17 @@ abstract public class Message extends BaseCommand implements MarshallAware, Mess
copy.readOnlyBody = readOnlyBody;
copy.compressed = compressed;
copy.recievedByDFBridge = recievedByDFBridge;
copy.arrival = arrival;
copy.connection = connection;
copy.regionDestination = regionDestination;
copy.cachedWireFormat = cachedWireFormat;
copy.cachedWireFormatData = cachedWireFormatData;
copy.brokerPath = brokerPath;
// lets not copy the following fields
//copy.targetConsumerId = targetConsumerId;
//copy.referenceCount = referenceCount;
}
public Object getProperty(String name) throws IOException {