Many thanks for your help. It works like this.
:super:
Ivan Stojic wrote:
>
>
> 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
>
-----
Enterprise Architect
Xpectis
12, route d'Esch
L-1470 Luxembourg
Phone +352 25 10 70 470
Mobile +352 621 45 36 22
e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com www.xpectis.com
My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
--
View this message in context:
http://www.nabble.com/How-to-define-dynamically-the-jms-uri---tp20067678s22882p20107105.html
Sent from the Camel - Users mailing list archive at Nabble.com.