activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject activemq git commit: AMQ-6147: update to proton-j 0.12.0 release
Date Tue, 16 Feb 2016 17:23:04 GMT
Repository: activemq
Updated Branches:
  refs/heads/master b0c0441d0 -> 3f7b2d6bb


AMQ-6147: update to proton-j 0.12.0 release


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/3f7b2d6b
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/3f7b2d6b
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/3f7b2d6b

Branch: refs/heads/master
Commit: 3f7b2d6bb042599a1f4d4a5553df7ccf7c10d1a8
Parents: b0c0441
Author: Robert Gemmell <robbie@apache.org>
Authored: Tue Feb 16 15:52:22 2016 +0000
Committer: Robert Gemmell <robbie@apache.org>
Committed: Tue Feb 16 17:21:12 2016 +0000

----------------------------------------------------------------------
 .../amqp/client/util/UnmodifiableDelivery.java     |  5 +++++
 .../amqp/client/util/UnmodifiableLink.java         | 17 +++++++++++++++++
 .../amqp/client/util/UnmodifiableTransport.java    | 10 ++++++++++
 pom.xml                                            |  2 +-
 4 files changed, 33 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/3f7b2d6b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableDelivery.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableDelivery.java
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableDelivery.java
index 71cacaf..7d94089 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableDelivery.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableDelivery.java
@@ -160,4 +160,9 @@ public class UnmodifiableDelivery implements Delivery {
     public void setDefaultDeliveryState(DeliveryState state) {
         throw new UnsupportedOperationException("Cannot alter the Delivery");
     }
+
+    @Override
+    public void setMessageFormat(int messageFormat) {
+        throw new UnsupportedOperationException("Cannot alter the Delivery");
+    }
 }

http://git-wip-us.apache.org/repos/asf/activemq/blob/3f7b2d6b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableLink.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableLink.java
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableLink.java
index fbdfb61..2f7ff8e 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableLink.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableLink.java
@@ -17,7 +17,9 @@
 package org.apache.activemq.transport.amqp.client.util;
 
 import java.util.EnumSet;
+import java.util.Map;
 
+import org.apache.qpid.proton.amqp.Symbol;
 import org.apache.qpid.proton.amqp.transport.ErrorCondition;
 import org.apache.qpid.proton.amqp.transport.ReceiverSettleMode;
 import org.apache.qpid.proton.amqp.transport.SenderSettleMode;
@@ -255,4 +257,19 @@ public class UnmodifiableLink implements Link {
     public Record attachments() {
         return link.attachments();
     }
+
+    @Override
+    public Map<Symbol, Object> getProperties() {
+        return link.getProperties();
+    }
+
+    @Override
+    public void setProperties(Map<Symbol, Object> properties) {
+        throw new UnsupportedOperationException("Cannot alter the Link state");
+    }
+
+    @Override
+    public Map<Symbol, Object> getRemoteProperties() {
+        return link.getRemoteProperties();
+    }
 }

http://git-wip-us.apache.org/repos/asf/activemq/blob/3f7b2d6b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableTransport.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableTransport.java
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableTransport.java
index 8c663c3..0f2a5bc 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableTransport.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/util/UnmodifiableTransport.java
@@ -261,4 +261,14 @@ public class UnmodifiableTransport implements Transport {
     public long getFramesOutput() {
         return transport.getFramesOutput();
     }
+
+    @Override
+    public void setEmitFlowEventOnSend(boolean emitFlowEventOnSend) {
+        throw new UnsupportedOperationException("Cannot alter the Transport");
+    }
+
+    @Override
+    public boolean isEmitFlowEventOnSend() {
+        return transport.isEmitFlowEventOnSend();
+    }
 }

http://git-wip-us.apache.org/repos/asf/activemq/blob/3f7b2d6b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e3bca9b..e0d8cd1 100755
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,7 @@
     <p2psockets-version>1.1.2</p2psockets-version>
     <linkedin-zookeeper-version>1.4.0</linkedin-zookeeper-version>
     <zookeeper-version>3.4.6</zookeeper-version>
-    <qpid-proton-version>0.11.1</qpid-proton-version>
+    <qpid-proton-version>0.12.0</qpid-proton-version>
     <qpid-jms-version>0.7.0</qpid-jms-version>
     <netty-all-version>4.0.33.Final</netty-all-version>
     <regexp-version>1.3</regexp-version>


Mime
View raw message