From 1ef059db2b9feb1cdedccb29c77c548c8613212e Mon Sep 17 00:00:00 2001 From: gtully Date: Wed, 20 Oct 2021 10:02:31 +0100 Subject: [PATCH] ARTEMIS-3533, ARTEMIS-3308 - doc extra params and large messages for federation --- docs/user-manual/en/federation.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/user-manual/en/federation.md b/docs/user-manual/en/federation.md index 99ad9f5918..89b4266c17 100644 --- a/docs/user-manual/en/federation.md +++ b/docs/user-manual/en/federation.md @@ -125,4 +125,15 @@ and applying queue federation to queue `federated_queue` , and also applying add **It is important that federation name is globally unique.** -There are many configuration options that you can apply these are detailed in the individual docs for [Address Federation](federation-address.md) and [Queue Federation](federation-queue.md). \ No newline at end of file +There are many configuration options that you can apply these are detailed in the individual docs for [Address Federation](federation-address.md) and [Queue Federation](federation-queue.md). + +> **Note:** +> +>Extra parameters from the URI of a connector-ref can be used to override or provide additional configuration +>to the ServiceLocator. + +### Large Messages +If Federation has to process large messages, the default ackBatchSize and consumerWindowSize for the consumer will need to be changed +to limit the number of in-flight messages and to enable large message flow. +These options can be supplied as parameters on the referenced connector URI, for example: + ```tcp://:?ackBatchSize=100&consumerWindowSize=-1```