Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
All
Description
Hardened the current ActiveMQResourceAdapter start and stop code.
The adapter should not prevent a server from starting or stopping, and is now threaded in context.
The ActiveMQ5Factory will now override the following configuration options which may cause shutdown issues if set to true.
broker.setUseShutdownHook(false);
broker.setSystemExitOnShutdown(false);
The broker is now started, and creates a check point, before it is returned to OpenEJB. This ensures that all pools and resources that ActiveMQ initiates are up before OpenEJB gains access.