You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ra...@apache.org on 2011/08/02 23:18:35 UTC
svn commit: r1153272 -
/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java
Author: rajith
Date: Tue Aug 2 21:18:34 2011
New Revision: 1153272
URL: http://svn.apache.org/viewvc?rev=1153272&view=rev
Log:
QPID-3381 Added the class QpidMessageProperties as a place holder for Qpid specific properties, rather than using string literals all over the code.
Added:
qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java
Added: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java?rev=1153272&view=auto
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java (added)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/message/QpidMessageProperties.java Tue Aug 2 21:18:34 2011
@@ -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";
+}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org