And just for completeness, here is what the exception says: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
My code to fire up the broker looks like: BrokerService activeMqBroker = BrokerFactory.createBroker(uri); activeMqBroker.setUseShutdownHook(true); activeMqBroker.startAllConnectors(); -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-Configuration-Redlivery-Policy-tp4678217p4678218.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
