camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Lalonde (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3142) JpaPollingConsumer - So you can more easily work with pollEnrich
Date Mon, 05 Sep 2011 13:07:11 GMT


Mathieu Lalonde commented on CAMEL-3142:

*Status Update*

At the moment I have a JpaPollingConsumer that returns a list of polled entities. It supports
receiveNoWait(..) & works with pollEnrich(uri) as long as there are items to be polled.
 The other receive(..) methods do not block and I don't yet honor the timeout.  I simply return
an empty list if there was nothing to poll.  I do support maxMessagesPerPoll.

Any thoughts or recommendation for receive() & receive(timeout)?
Any Camel idiom I should use for the timeout, I usually use a TimerTask.

> JpaPollingConsumer - So you can more easily work with pollEnrich
> ----------------------------------------------------------------
>                 Key: CAMEL-3142
>                 URL:
>             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_initialPolish.patch
> See
> The best solution is to add a JpaPollingConsumer implementation so it works better with

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message