use of com.swiftmq.impl.streams.processor.ManagementProcessor in project swiftmq-ce by iitsoftware.
the class ManagementInput method start.
@Override
public void start() throws Exception {
if (started)
return;
try {
EntityList inputList = (EntityList) ctx.usage.getEntity("inputs");
usage = inputList.createEntity();
usage.setName(name.replace('/', '_'));
usage.createCommands();
inputList.addEntity(usage);
usage.getProperty("atype").setValue("Management");
} catch (Exception e) {
e.printStackTrace();
}
managementProcessor = new ManagementProcessor(ctx, this);
managementProcessor.register();
started = true;
}
Aggregations