summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2012-04-16 14:21:50 +0000
committerRobert Godfrey <rgodfrey@apache.org>2012-04-16 14:21:50 +0000
commit7383a1fd679000fcb5eec9c0610b75e29a8f7b45 (patch)
tree02a95194bb7eaac3a914c823b2d64a44f068b6ac
parent3163628dd91bb52dc19b2d23c758ade010086374 (diff)
downloadqpid-python-7383a1fd679000fcb5eec9c0610b75e29a8f7b45.tar.gz
QPID-3949 : [Java AMQP 1.0] JMSType property
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326628 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageImpl.java2
-rwxr-xr-xqpid/java/broker/src/main/java/org/apache/qpid/server/message/MessageMetaData_1_0.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageImpl.java b/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageImpl.java
index 96798b69a1..dc392f967e 100644
--- a/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageImpl.java
+++ b/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageImpl.java
@@ -50,7 +50,7 @@ public abstract class MessageImpl implements Message
static final Set<Class> _supportedClasses =
new HashSet<Class>(Arrays.asList(Boolean.class, Byte.class, Short.class, Integer.class, Long.class,
Float.class, Double.class, Character.class, String.class, byte[].class));
- private static final Symbol JMS_TYPE = Symbol.valueOf("jms-type");
+ private static final Symbol JMS_TYPE = Symbol.valueOf("x-opt-jms-type");
private Header _header;
private Properties _properties;
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/message/MessageMetaData_1_0.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/message/MessageMetaData_1_0.java
index 9cb5904bb3..7d030fe711 100755
--- a/qpid/java/broker/src/main/java/org/apache/qpid/server/message/MessageMetaData_1_0.java
+++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/message/MessageMetaData_1_0.java
@@ -47,7 +47,7 @@ import org.apache.qpid.server.store.StorableMessageMetaData;
public class MessageMetaData_1_0 implements StorableMessageMetaData
{
// TODO move to somewhere more useful
- public static final Symbol JMS_TYPE = Symbol.valueOf("jms-type");
+ public static final Symbol JMS_TYPE = Symbol.valueOf("x-opt-jms-type");
private Header _header;