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 | 437670e7ae583cbf62458096ac7a8253eea2e6de (patch) | |
tree | bdd0e6cb5b9a140ff8dd984b6d2e9299ec37c34f | |
parent | 5b7b3ce2f07c1d0e05ad6b8084401c6bd25babff (diff) | |
download | qpid-python-437670e7ae583cbf62458096ac7a8253eea2e6de.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@1153272 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java b/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java new file mode 100644 index 0000000000..b30afafa35 --- /dev/null +++ b/qpid/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"; +} |