activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thammoud <thamm...@yahoo.com>
Subject Add a Plugin to a running ActiveMQ Broker
Date Tue, 08 May 2018 17:12:08 GMT
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

Mime
View raw message