From b77eba471deadedf2dacd85b440539bfa897701b Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Sun, 3 May 2015 15:11:31 +0100 Subject: [PATCH] AMQ-5699: upgrade to Proton 0.9.1 release https://issues.apache.org/jira/browse/AMQ-5699 --- .../amqp/client/util/UnmodifiableConnection.java | 12 ++++++++++++ pom.xml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableConnection.java b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableConnection.java index b67b305397..58249a763c 100644 --- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableConnection.java +++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableConnection.java @@ -27,6 +27,7 @@ import org.apache.qpid.proton.engine.Delivery; import org.apache.qpid.proton.engine.EndpointState; import org.apache.qpid.proton.engine.Link; import org.apache.qpid.proton.engine.Session; +import org.apache.qpid.proton.engine.Transport; /** * Unmodifiable Connection wrapper used to prevent test code from accidentally @@ -176,4 +177,15 @@ public class UnmodifiableConnection implements Connection { public void collect(Collector collector) { throw new UnsupportedOperationException("Cannot alter the Connection"); } + + @Override + public Transport getTransport() { + return connection.getTransport(); + } + + @Override + public String getContainer() + { + return connection.getContainer(); + } } diff --git a/pom.xml b/pom.xml index 4401421376..034b754b16 100755 --- a/pom.xml +++ b/pom.xml @@ -103,7 +103,7 @@ 1.1.2 1.4.0 3.4.6 - 0.8 + 0.9.1 0.1.0 4.0.17.Final 1.3