summaryrefslogtreecommitdiff
path: root/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java')
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
index 941534c7ff..ad7885f195 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
+++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
@@ -1402,6 +1402,19 @@ public class AMQConnection extends Closeable implements Connection, QueueConnect
return null;
}
}
+
+ /**
+ * Tests whether the Broker has advertised support for the named feature.
+ *
+ * @param featureName
+ *
+ * @return true if the feature is supported, or false otherwise.
+ */
+ boolean isSupportedServerFeature(final String featureName)
+ {
+ return _delegate.isSupportedServerFeature(featureName);
+ }
+
public boolean isFailingOver()
{
return (_protocolHandler.getFailoverLatch() != null);