how to resolve "WARN: AMQ212054: Destination address=examp is blocked"
Asked Answered
L

2

6

I'm completely new to Spring JMS. I'm running a Spring JMS simple chat application using ActiveMQ Artemis. After calling send() I'm getting this:

WARN: AMQ212054: Destination address=examp is blocked. If the system is configured to block make sure you consume messages on this configuration.

The code after send() is not getting executed. Please help.

Limburger answered 14/1, 2020 at 7:17 Comment(1)
Cut/paste your broker.xml, please.Ravage
R
10

There are multiple reasons that the broker might block messages from being sent to an address:

  1. If the <address-full-policy> is BLOCK and the address has reached the configured <max-size-bytes>.
  2. If the <address-full-policy> is BLOCK and the <global-max-size> for all addresses is reached.
  3. If the <max-disk-usage> is reached.

My guess is that you're hitting #3. Therefore, I recommend you increase your max-disk-usage from 90 (i.e. the default) to 100, e.g.:

<max-disk-usage>100</max-disk-usage>
Ravage answered 14/1, 2020 at 18:27 Comment(0)
D
2

You may get this error due to your Disk Space is full, so try deleting some of the unused data from you disk space.

Digged answered 2/4, 2020 at 7:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.