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 Fix For: 2.9.0 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