mirror of
https://github.com/apache/activemq.git
synced 2025-02-18 07:56:20 +00:00
applied patch for http://issues.apache.org/activemq/browse/AMQ-959
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@477173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea3456e791
commit
2e44c7e98c
@ -92,7 +92,7 @@ abstract public class Message extends BaseCommand implements MarshallAware, Mess
|
|||||||
copy.producerId = producerId;
|
copy.producerId = producerId;
|
||||||
copy.transactionId = transactionId;
|
copy.transactionId = transactionId;
|
||||||
copy.destination = destination;
|
copy.destination = destination;
|
||||||
copy.messageId = messageId;
|
copy.messageId = messageId.copy();
|
||||||
copy.originalDestination = originalDestination;
|
copy.originalDestination = originalDestination;
|
||||||
copy.originalTransactionId = originalTransactionId;
|
copy.originalTransactionId = originalTransactionId;
|
||||||
copy.expiration = expiration;
|
copy.expiration = expiration;
|
||||||
|
@ -139,4 +139,11 @@ public class MessageId implements DataStructure {
|
|||||||
public boolean isMarshallAware() {
|
public boolean isMarshallAware() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MessageId copy(){
|
||||||
|
MessageId copy = new MessageId(producerId, producerSequenceId);
|
||||||
|
copy.key = key;
|
||||||
|
copy.brokerSequenceId = brokerSequenceId ;
|
||||||
|
return copy;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user