mirror of https://github.com/apache/activemq.git
apply patch for: https://issues.apache.org/jira/browse/AMQ-4713
This commit is contained in:
parent
8d5b9a5587
commit
fba8e25563
|
@ -885,7 +885,7 @@ class AmqpProtocolConverter implements IAmqpProtocolConverter {
|
||||||
|
|
||||||
private void settle(final Delivery delivery, final int ackType) throws Exception {
|
private void settle(final Delivery delivery, final int ackType) throws Exception {
|
||||||
byte[] tag = delivery.getTag();
|
byte[] tag = delivery.getTag();
|
||||||
if (tag != null && tag.length > 0) {
|
if (tag != null && tag.length > 0 && delivery.remotelySettled()) {
|
||||||
checkinTag(tag);
|
checkinTag(tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue