273274275276277278279280281282283
if (stateConfig.getId() == null) { stateConfig.setId("scheduler_" + agentId); } } scheduler = new SchedulerBuilder().withConfig(schedulerConfig) .withHandle(receiver).build(); config.put("scheduler", schedulerConfig); } }