ted from our service Locator. This is why i have
used the boucle in order to simulate that.
Thanks in advance,
Regards,
--
View this message in context:
http://camel.465427.n5.nabble.com/Dysfunction-of-recipientList-with-2-same-endpoints-in-the-List-using-onPrepareRef-tp5746210p5746213.html
Sent fr
for (int i = 0; i < Recipients.length; i++) {
> if (toEndpoint.equalsIgnoreCase(Recipients[i])) {
> exchange.getIn().setHeader("invoked", i);
> }
>
> }
>
>
> Thanks in advance
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Dysfunction-of-recipientList-with-2-same-endpoints-in-the-List-using-onPrepareRef-tp5746210.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
{
if (toEndpoint.equalsIgnoreCase(Recipients[i])) {
exchange.getIn().setHeader("invoked", i);
}
}
Thanks in advance
--
View this message in context:
http://camel.465427.n5.nabble.com/Dysfunction