Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.16.1
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Environment:
OS: Ubuntu 15.10
JDK: Oracle JDK 1.8.0_66
Camel version: 2.16.1
-
Estimated Complexity:Advanced
Description
Steps to reproduce:
1. Create global onException handler
<onException>
<exception>java.lang.Exception</exception>
<handled>
<constant>false</constant>
</handled>
<log message="SOME MESSAGE"/>
</onException>
2. Create 2 routes with Splitter (set shareUnitOfWork to TRUE, important)
<route>
<from uri="timer://foo?repeatCount=1"/>
<!-- Add some value list to body here -->
<split shareUnitOfWork="true" stopOnException="true">
<simple>${body}</simple>
<to uri="direct:handleSplit"/>
</split>
</route>
<route>
<from uri="direct:handleSplit"/>
<throwException ref="myException"/>
</route>
Expected: string "SOME MESSAGE" is logged
Actual: <log message="SOME MESSAGE"/> is not executed at all
Attachments
Issue Links
- is related to
-
CAMEL-9573 Multicast and RecipientList - ShareUnitOfWork should rework a bit
-
- Resolved
-