From a4beb18a6ec02c8ec06eb6e224def16cab43726f Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Thu, 16 Mar 2017 18:03:54 -0400 Subject: [PATCH] ARTEMIS-1044 Avoiding StackOverflow on AMQP under load --- .../artemis/protocol/amqp/broker/AMQPSessionCallback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java index fb355ff46d..7f7e22b730 100644 --- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java +++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java @@ -404,7 +404,7 @@ public class AMQPSessionCallback implements SessionCallback { delivery.disposition(Accepted.getInstance()); delivery.settle(); } - connection.flush(true); + connection.flush(); } @Override