Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Unexpected behaviour of splitter using stopOnException

$
0
0
Hi,

I have a simple camel route:

<route>
<from uri="dataset:dataSet?produceDelay=1000" />
<split stopOnException="true">
<simple>body</simple>
<log message="${body}" />
<stop /> ... (*)
<log message="do something" />
</split>
</route>

According to the [1], stopOnException means

"Whether or not to stop continue processing immediately when *an
exception occurred*. If disable, then Camel continue splitting and
process the sub-messages regardless if one of them failed. "

But, it stops processing the sub-messages even if no exception occurred.

Is this a bug or not?

Regards,

Seiji Sogabe

[1] http://camel.apache.org/splitter.html

Viewing all articles
Browse latest Browse all 5648

Trending Articles