This looks like a minor bug with the default value for org.apache.activemq.artemis.core.config.BridgeConfiguration#confirmationWindowSize
. Currently it is using this:
private int confirmationWindowSize = ActiveMQClient.DEFAULT_CONFIRMATION_WINDOW_SIZE;
However, it should be using this:
private int confirmationWindowSize = ActiveMQDefaultConfiguration.getDefaultBridgeConfirmationWindowSize();
You can work around this issue by setting the confirmation window size manually, e.g.:
BridgeConfiguration myBridgeConfiguration = new BridgeConfiguration();
myBridgeConfiguration.setConfirmationWindowSize(ActiveMQDefaultConfiguration.getDefaultBridgeConfirmationWindowSize());
I opened a Jira issue for this, sent a PR, and the PR has been merged. The fix will appear in ActiveMQ Artemis 2.17.0.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…