camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4508) Add option for scheduled polling consumer to emit an null message if there was no messages to poll
Date Wed, 19 Oct 2011 07:37:10 GMT

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

Claus Ibsen reassigned CAMEL-4508:
----------------------------------

    Assignee: Claus Ibsen
    
> Add option for scheduled polling consumer to emit an null message if there was no messages
to poll
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4508
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4508
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4508.patch
>
>
> For example when people poll files, then they may want to react if there is no files
to pickup. Currently you would have to use a poll strategy, but we should add an option you
can configure on the endpoint, to have it emit an null message instead.
> sendEmptyMessageWhenIdle - false - If this option is true, and there was no messages
to poll, then we simulate processing a single message, by sending an empty message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message