camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad Oblamskyi (JIRA)" <>
Subject [jira] [Created] (CAMEL-9444) Incorrect exceptions handling from Splitter
Date Wed, 23 Dec 2015 10:50:46 GMT
Vlad Oblamskyi created CAMEL-9444:

             Summary: Incorrect exceptions handling from Splitter
                 Key: CAMEL-9444
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.16.1
         Environment: OS: Ubuntu 15.10
JDK: Oracle JDK 1.8.0_66
Camel version: 2.16.1
            Reporter: Vlad Oblamskyi

Steps to reproduce:
1. Create global onException handler
    <log message="SOME MESSAGE"/>

2. Create 2 routes with Splitter (set shareUnitOfWork to TRUE, important)
    <from uri="timer://foo?repeatCount=1"/>

    <!-- Add some value list to body here -->

    <split shareUnitOfWork="true" stopOnException="true">
        <to uri="direct:handleSplit"/>

       <from uri="direct:handleSplit"/>
       <throwException ref="myException"/>

Expected: string "SOME MESSAGE" is logged
Actual:  <log message="SOME MESSAGE"/> is not executed at all 

This message was sent by Atlassian JIRA

View raw message