diff options
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java | 2 |
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()); |