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.