public void afterPropertiesSet() throws Exception {
Map<String, KnowledgeServiceConfiguration> configs = new HashMap<String, KnowledgeServiceConfiguration>();
for (KnowledgeServiceConfiguration cfg : configurations) {
configs.put(cfg.getSessionId(), cfg);
}
service = new KnowledgeServiceImpl(camelContext, configs, nodeId);
}