Hello,

Here is what happens :

My route is :

from("direct:inside")
.log(LoggingLevel.INFO, "**** start")
.beanRef(MY_SERVICE, "retrieveDataList")
.log(LoggingLevel.INFO, "**** before split ${body}")
.split(body())
.log(LoggingLevel.INFO, "**** after split ${body}")

And my logs :

|2013-02-27 11:30:58|INFO|route3|**** start|
|2013-02-27 11:30:58|INFO|route3|**** before split []|

That's all! When my bean retrieves an empty list, the SPLIT shortcuts my
whole route and nothing is done after on it... With a not empty list, it
works fine.

I'm using Camel 2.10.2

Did I miss something?

Thanks



-----
http://developpef.blogspot.com
--
View this message in context: 
http://camel.465427.n5.nabble.com/Split-an-empty-list-tp5728214.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to