[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add a Plugin to a running ActiveMQ Broker


Hello,

Is there a way to dynamically add a plug to an already started broker? I
tried the following to no avail.

BrokerService brokerService = BrokerRegistry.getInstance().findFirst();
ActiveMQBrokerPlugin bp = new ActiveMQBrokerPlugin();
brokerService.setPlugins(new BrokerPlugin[]{bp});            
bp.installPlugin(brokerService.getBroker());

My filter is not being called. When installed in the xml config, all works
fine but I need to be able to do it dynamically. Thank you in advance. 



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html