[MAESTRO-3871] re-factored into methods to make more legible.  support for non-local DB, Stomp.  validate activemq settings