GitHub user gaohoward opened a pull request: https://github.com/apache/activemq-artemis/pull/2371
ARTEMIS-2097 Pause and Block Producers Added new methods to AddressControl and ServerControl to allow users to block sending on addresses. Once blocked, any messages sending to the blocked addresses will get rejected with an exception. The senders can catch the corresponding exception and handle properly. For example, keep resending or send messages to some alternative addresses. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gaohoward/activemq-artemis a_2097 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/2371.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2371 ---- commit 056e09b036ffe4eb0022328a837cfa8ec7c28203 Author: Howard Gao <howard.gao@...> Date: 2018-10-15T08:10:31Z ARTEMIS-2097 Pause and Block Producers Added new methods to AddressControl and ServerControl to allow users to block sending on addresses. Once blocked, any messages sending to the blocked addresses will get rejected with an exception. The senders can catch the corresponding exception and handle properly. For example, keep resending or send messages to some alternative addresses. ---- ---