Search

22.5. Blocking producers

download PDF
Instead of paging messages when the max size is reached, an address can also be configured to block producers from sending further messages when the address is full. This prevents the memory being exhausted on the server.
Producers will automatically unblock and be able to continue sending when memory is freed up on the server.
To do this set the address-full-policy to BLOCK in the address settings.

Important

Blocking is not recommended when using bridges because it is ignored and the message always transferred. In case of a bridge, either configure the destination to use paging instead of blocking, or make sure there is always a consumer at the target destination.
In the default configuration, all addresses are configured to block producers after 10 MB of data are in the address.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.