Camel + Spring + JpaTransactionManager = Hung on SELECT

2014-09-05 Thread James Green
We have a maven project that bundles Camel and Spring. The trouble is a processor receives a message and uses an EntityManager to perform a database query which hangs completely until a 20s timeout kicks in during routing. The hang is during an integration test against an in-memory database with

Re: Camel + Spring + JpaTransactionManager = Hung on SELECT

2014-09-05 Thread James Green
Supporting log: 17:34:09,347 DEBUG org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler:232 invoke() - Creating new EntityManager for shared EntityManager invocation 17:34:09,347 DEBUG org.hibernate.impl.SessionImpl:265 init() - opened session at timestamp: