camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damianharvey <>
Subject Re: RecipientList repeating parent body
Date Tue, 16 Nov 2010 22:05:35 GMT

Hi Claus, Thanks for answering.

I have a route/flow that calls a specific OS command to retrieve some XML
(it's from a COBOL script). It is required to be called on it's own with a
single Client or with a list of Clients.

The main route (as per original post but with the response endpoint logic) : 

.log("******* Started single body : ${body}")
.log("******* Executed OS cmd and received: ${body}")
	.when(simple("${header.responseNode} == null"))

The "parent" route called with a list of Clients:

.setHeader("responseNode", constant("seda:multiReply"))
.setHeader("UUID", BeanLanguage.bean(UUIDFactory.class, "generate"))

And the route used to aggregate:

.aggregate(header("UUID"), new ListAggregationStrategy())



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message