Description
In ActiveMQ 5.x a very useful feature is the ability to configure a prefetch in a policy which then gets negotiated with an OpenWire client. This allows changing the default prefetch setting by destination which is important because different destinations will have different message types and data flows. It's very useful to be able to configure it on the broker so that each client doesn't need to configure their side and an administrator can set a reasonable default (where the broker is shared by multiple clients/customers)
To do this in Artemis I'm proposing creating a new window size negotiation as part of the consumer creation. Essentially the address can be configured with a different default window size if desired and if the client does not set the window size then the new configured default will be sent to the client which can be used instead of the standard 1 MiB.
Attachments
Issue Links
- relates to
-
ARTEMIS-2052 DefaultConsumerWindowSize is not properly being applied
- Closed
- links to