Hi Stefano, thanks for your reply.
I am trying with switchyard 2.1.0-SNAPSHOT because it has been upgraded to Wildfly 10. By the way, I only have some minor changes into the security module to provide compatibility with Keycloak and Wildfly 10 security because there are some dependencies that has been changed from Wildfly 8 to Wildfly 10 (last year i pushed some changes to the "switchyard project" about it).
I have found a workaround to this problem using a shared entity manager factory (it is not a default configuration to the switchyard camel jpa component but it is possible to do it). But it is extreamly rare what happens when the default configuration is used and I think that it should work like it does in wildfly 8.
In some point, connection is supplied but never is commited/closed/released to the pool again, dying when the timeout happen.
If somebody want I can give an overlay layer for wildfly 10.0.0.Final to reproduce the quickstart project quickly.
My dev environment is composed of:
-Windows 10
-Java 8
-Wildfly 10.0.0.Final
-Switchyard 2.1.0.SNAPSHOT with minor changes
Regards