[ 
https://issues.apache.org/jira/browse/CAMEL-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathieu Lalonde updated CAMEL-3142:
-----------------------------------

    Attachment: camel-jpa_JpaPollingConsumer_forReview.tar

The attached patch adds a JpaPollingConsumer along with some unit tests.

I wasn't sure how to best factor out reusable logic between JpaConsumer & 
JpaPollingConsumer so I created JpaHelper (see TODO comment) & 
QueryFactoryBuilder.  I didn't think inheritance was right there.

The patch only contains changes to JpaEndpoint.  If you like the JpaHelper, I 
can patch JpaConsumer to make use of it as well.

Thanks for your patience,
Mathieu

> JpaPollingConsumer - So you can more easily work with pollEnrich
> ----------------------------------------------------------------
>
>                 Key: CAMEL-3142
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3142
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jpa
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Mathieu Lalonde
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: camel-jpa_JpaPollingConsumer_forReview.tar, 
> camel-jpa_initialPolish.patch
>
>
> See
> http://fusesource.com/forums/thread.jspa?threadID=2256&tstart=0
> The best solution is to add a JpaPollingConsumer implementation so it works 
> better with pollEnrich

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to