camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From developpef <>
Subject Split an empty list
Date Wed, 27 Feb 2013 10:46:43 GMT

Here is what happens :

My route is :

.log(LoggingLevel.INFO, "**** start")
.beanRef(MY_SERVICE, "retrieveDataList")
.log(LoggingLevel.INFO, "**** before 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?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message