GitHub user bgaudaen opened a pull request: https://github.com/apache/camel/pull/1322
CAMEL-10490: Implemented consumeLockEntity and lockModeType options on JpaPollingConsumer You can merge this pull request into a Git repository by running: $ git pull https://github.com/bgaudaen/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1322.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1322 ---- commit a972befaa7b27c6af49e40e0e5147939c66a189e Author: Bob Gaudaen <bob.gaud...@gmail.com> Date: 2016-11-18T16:01:12Z CAMEL-10490 Wrote unit test to illustrate concurrency problem commit dcdb619e60383105fdafc71fb94aed86c686f588 Author: Bob Gaudaen <bob.gaud...@gmail.com> Date: 2016-11-18T16:04:08Z CAMEL-10490 Added LockModeType in JpaPollingConsumer. Still doesn't pass the test with the derby jdbc driver, but passes with MySQL... commit 9a5f83f9a8a0d47038aeb16fa09c8db67c1ec6b0 Author: Bob Gaudaen <bob.gaud...@gmail.com> Date: 2016-11-28T10:11:00Z CAMEL-10490 Some code cleanup commit 6795c114ac825f020b85d2a6929ddf5f200c78d5 Author: Bob Gaudaen <bob.gaud...@gmail.com> Date: 2016-11-30T12:39:21Z CAMEL-10490 Changed to optimistic lock mode type and added test for concurrent access without lock commit f7586ffb04d4d8373856f899b3ed4b8095ad7ed9 Author: Bob Gaudaen <bob.gaud...@gmail.com> Date: 2016-11-30T13:17:21Z CAMEL-10490 CheckStyle warnings ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---