destroyApplicationContextOnStop was deprecated some time ago and removed from activeq 5.7,5.8,5.9. This causes service to fail to start due to an invalid activemq.xml file.  Changed to recommended useShutdownHook instead.