Apache Camel: What is difference between Message Translator and Content Enricher with Example?
问题 I hit database get 10 employees; on base of each employee i hit another database and fetch some information and concatenate the same. As per my understanding, It can be done either in .process() or in .enrich() (using aggregator) .to("jdbc:masterdata?outputClass=com.diavry.integrator.Employee") .to("log:?level=INFO&showBody=true") .process(e -> { List<Employee> eiEmployees = (List<Employee>) e.getIn().getBody(List.class); for (Employee employee : eiEmployees) { PreparedStatement statement =