summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-04-21 12:45:48 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-04-21 12:45:48 +0000
commitceca53c26ab6ed56929dc558b3255bdd83090315 (patch)
tree9d5c14ad31905b54ac9bd548d43d43e87a831eb3
parent0637677cf6653256b67c82dcb74f35133601220c (diff)
downloadqpid-python-ceca53c26ab6ed56929dc558b3255bdd83090315.tar.gz
QPID-939 Added "ID:" to message ID
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650127 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java b/java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java
index e04da98f39..48992659f6 100644
--- a/java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java
+++ b/java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java
@@ -139,7 +139,7 @@ public abstract class AbstractJMSMessageFactory implements MessageFactory
}
props.setExpiration(devprop.getExpiration());
UUID mid = mprop.getMessageId();
- props.setMessageId(mid == null ? null : mid.toString());
+ props.setMessageId(mid == null ? null : "ID:" + mid.toString());
if (devprop.hasPriority())
{
props.setPriority((byte) devprop.getPriority().getValue());