diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-08-02 21:18:34 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-08-02 21:18:34 +0000 |
commit | fdc9d6071712672e5c9671e013ad63e3dd6b624d (patch) | |
tree | 55066aa740d9d1c49d444dcdaa877d65499806f2 /java/client/src | |
parent | d0448b509bf3b0f555902e09820934c7d8150106 (diff) | |
download | qpid-python-fdc9d6071712672e5c9671e013ad63e3dd6b624d.tar.gz |
QPID-3381 Added the class QpidMessageProperties as a place holder for Qpid specific properties, rather than using string literals all over the code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153272 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java b/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java new file mode 100644 index 0000000000..b30afafa35 --- /dev/null +++ b/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java @@ -0,0 +1,34 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +package org.apache.qpid.client.message; + +/** + * Place holder for Qpid specific message properties + */ +public class QpidMessageProperties +{ + + public static final String QPID_SUBJECT = "qpid.subject"; + + // AMQP 0-10 related properties + public static final String AMQP_0_10_APP_ID = "x-amqp-0-10.app-id"; + public static final String AMQP_0_10_ROUTING_KEY = "x-amqp-0-10.routing-key"; +} |