Hi, i do the aggregation bean and if i put something like <to
uri="mock:aggregated"/> in the aggregation route, it seems to load up ok. my
full xml is too ugly to post, so i'm just posting the route, thanks again
<when>
<simple>${in.header.operationName} == 'A'</simple>
<log message="Got ${in.header.operationName}"/>
<split>
<
<method bean="B" method="methodB"/>
<process ref="CProcessor"/>
<setHeader headerName="CamelJmsDestinationName">
<constant>queue:///TOQUEUE?targetClient=1</constant>
</setHeader>
<setHeader
headerName="CamelJmsDestinationName">
<constant>queue:///REPLYQUEUE?targetClient=1</constant>
</setHeader>
<to uri="jms:TOQUEUE?replyTo=REPLYQUEUE"/>
</split>
</when>
<route>
<from uri="jms:REPLYQUEUE"/>
<aggregate strategyRef="aggregatorStrategy" completionSize="1"
completionTimeout="1000">
<correlationExpression>
<header>JMSCorrelationID</header>
</correlationExpression>
</aggregate>
</route>
<bean id="aggregatorStrategy" class="com.strategy"/>
--
View this message in context:
http://camel.465427.n5.nabble.com/aggregator-question-how-do-I-send-reply-back-to-the-requestor-tp5720377p5720382.html
Sent from the Camel - Users mailing list archive at Nabble.com.