use of org.apache.karaf.jms.internal.JmsMBeanImpl in project karaf by apache.
the class Activator method doStart.
@Override
protected void doStart() throws Exception {
JmsServiceImpl service = new JmsServiceImpl();
service.setBundleContext(bundleContext);
register(JmsService.class, service);
JmsMBeanImpl mbean = new JmsMBeanImpl();
mbean.setJmsService(service);
registerMBean(mbean, "type=jms");
RegexCommandLoggingFilter filter = new RegexCommandLoggingFilter();
filter.addRegEx("create +.*?--password ([^ ]+)", 2);
filter.addRegEx("create +.*?-p ([^ ]+)", 2);
register(CommandLoggingFilter.class, filter);
}
Aggregations