mirror of https://github.com/apache/activemq.git
AMQ-6147: update to proton-j 0.12.0 release
(cherry picked from commit 3f7b2d6bb0
)
This commit is contained in:
parent
da45634e44
commit
a2786b5ad1
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
2
pom.xml
2
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>
|
||||
|
|
Loading…
Reference in New Issue