Camel hang while using camel-JPA (hsqldb) with split under transaction

Solution Verified - Updated -

Issue

Camel route using camel-JPA with split under transaction is hung at 2nd split operation.

    <camelContext id="animal" xmlns="http://camel.apache.org/schema/spring">
        <route id="split-jpa-test">
            <from id="_from1" uri="direct:split-jpa-test"/>
            <transacted id="_transacted1"/>
            <split id="_split1" parallelAggregate="false"
                parallelProcessing="false" shareUnitOfWork="true" streaming="false">
                <xpath>//records/record</xpath>
                <to id="_to1" uri="jpa:entityType"/>
            </split>
        </route>
    </camelContext>

Environment

  • Red Hat Fuse 7.x
  • hsqldb 2.5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content