GitHub user bgutjahr opened a pull request:
https://github.com/apache/activemq-artemis/pull/1251
ARTEMIS-1112: Added wait-for-activation option to shared-store-master confg
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup
behavior.
If this option is enabled, ActiveMQServer.start() with a shared-store
master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background
activation thread has been started.
The caller can use waitForActivation() to wait until server is activated,
or just check the current activation status.
(cherry picked from commit 6017e305d90664b4bf5b8f891e43514907df9a4b)
(cherry picked from commit 7aa50546b3dc6c012bd7d4118d82055ffd1e1226)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bgutjahr/activemq-artemis
enhanced-shared-store-1.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1251.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 #1251
----
commit 88e629a7aeb9c3168fd704c32e8ee2aad756b41b
Author: Bernd Gutjahr <[email protected]>
Date: 2017-05-03T12:46:47Z
ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup
behavior.
If this option is enabled, ActiveMQServer.start() with a shared-store
master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background
activation thread has been started.
The caller can use waitForActivation() to wait until server is activated,
or just check the current activation status.
(cherry picked from commit 6017e305d90664b4bf5b8f891e43514907df9a4b)
(cherry picked from commit 7aa50546b3dc6c012bd7d4118d82055ffd1e1226)
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---