At the moment, the state of Broker immediate children is checked on Broker startup. If any of immediate childs has an ERRORED state and context variable broker.failStartupWithErroredChild is set to true, the Broker does not start. This functionality needs to be extended to check the state of entire configured object hierarchy. Thus, if any of configured objects transits into ERRORED state during broker activation, the broker should not be allowed to start.
This functionality should address pull request https://github.com/apache/qpid-broker-j/pull/4