[ 
https://issues.apache.org/jira/browse/CAMEL-10490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708626#comment-15708626
 ] 

ASF GitHub Bot commented on CAMEL-10490:
----------------------------------------

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 <[email protected]>
Date:   2016-11-18T16:01:12Z

    CAMEL-10490 Wrote unit test to illustrate concurrency problem

commit dcdb619e60383105fdafc71fb94aed86c686f588
Author: Bob Gaudaen <[email protected]>
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 <[email protected]>
Date:   2016-11-28T10:11:00Z

    CAMEL-10490 Some code cleanup

commit 6795c114ac825f020b85d2a6929ddf5f200c78d5
Author: Bob Gaudaen <[email protected]>
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 <[email protected]>
Date:   2016-11-30T13:17:21Z

    CAMEL-10490 CheckStyle warnings

----


> JpaPollingConsumer does not support consumeLockEntity and others
> ----------------------------------------------------------------
>
>                 Key: CAMEL-10490
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10490
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jpa
>    Affects Versions: 2.18.0
>            Reporter: Bob Gaudaen
>             Fix For: 2.18.2, 2.19.0
>
>
> Since the introduction of JpaPollingConsumer in camel 2.18.0, it is not 
> possible anymore to use some of jpa consumer options (consumeLockEntity, 
> consumeDelete, ...).
> Documentation also lacks some information on which option can be used by the 
> jpa consumer and not by the polling consumer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to