cmoulliard wrote:
>
> Can someone tell me why only one message of the six splitted is processed
> by the recipient (see my previous post where the log has been added) ? Is
> it an issue with the Recipient or the combination of splitter + recipient
> + spring ?
>
You should use the recipientList inside the splitter, not after:
<splitter>
<xpath>//price</xpath>
<setHeader headerName="stock"><xpath>//price/@stock</xpath></setHeader>
<recipientList><simple>jms:topic:STOCK.${in.header.stock}</simple></recipientList>
</splitter>
Regards,
Ivan
--
View this message in context:
http://www.nabble.com/How-to-define-dynamically-the-jms-uri---tp20067678s22882p20106669.html
Sent from the Camel - Users mailing list archive at Nabble.com.