Show Table of Contents
22.5. Blocking producers
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.