summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-12-20 12:57:27 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-12-20 12:57:27 +0000
commit962e235469aeb7f1174b72e5ff4de0a9d0bfd9a7 (patch)
tree4cf7d8f02f781663f3d2231f3062ecfa8e7151bb
parentbccee9d246c110e095951dc76b3ed09fecd61b63 (diff)
downloadqpid-python-962e235469aeb7f1174b72e5ff4de0a9d0bfd9a7.tar.gz
Added new enum for AMQP Filter types
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489078 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/common/src/main/java/org/apache/qpid/common/AMQPFilterTypes.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/common/AMQPFilterTypes.java b/java/common/src/main/java/org/apache/qpid/common/AMQPFilterTypes.java
new file mode 100644
index 0000000000..3c33fcfc05
--- /dev/null
+++ b/java/common/src/main/java/org/apache/qpid/common/AMQPFilterTypes.java
@@ -0,0 +1,39 @@
+/*
+ * 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.common;
+
+public enum AMQPFilterTypes
+{
+ JMS_SELECTOR("x-filter-jms-selector"),
+ JMS_BROWSER("x-filter-jms-browser");
+
+ private final String _value;
+
+ AMQPFilterTypes(String value)
+ {
+ _value = value;
+ }
+
+ public String getValue()
+ {
+ return _value;
+ }
+}