camel-dev mailing list archives

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

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

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: 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_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

        

Mime
View raw message