Re: Dysfunction of recipientList with 2 same endpoints in the List (using onPrepareRef)

2014-01-18 Thread ABouchama
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

Re: Dysfunction of recipientList with 2 same endpoints in the List (using onPrepareRef)

2014-01-18 Thread Taariq Levack
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. >

Dysfunction of recipientList with 2 same endpoints in the List (using onPrepareRef)

2014-01-18 Thread ABouchama
{ 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