mirror of https://github.com/apache/activemq.git
check messageId isn't null before trying to copy it
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@478292 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5e1da9a9a6
commit
41b9089ac3
|
@ -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();
|
copy.messageId = messageId != null ? messageId.copy() : null;
|
||||||
copy.originalDestination = originalDestination;
|
copy.originalDestination = originalDestination;
|
||||||
copy.originalTransactionId = originalTransactionId;
|
copy.originalTransactionId = originalTransactionId;
|
||||||
copy.expiration = expiration;
|
copy.expiration = expiration;
|
||||||
|
|
Loading…
Reference in New Issue