camel-mail - Add option to control if mail folder should be closed after poll
-----------------------------------------------------------------------------
Key: CAMEL-4456
URL: https://issues.apache.org/jira/browse/CAMEL-4456
Project: Camel
Issue Type: Improvement
Components: camel-mail
Affects Versions: 2.8.0
Reporter: Claus Ibsen
Priority: Minor
Fix For: 2.9.0
It should be possible to control if the mail folder should be closed after a
poll or not.
For example if people is routing mails over SEDA or other async endpoints, then
we should not close the mail folder before the mail message is being processed
async.
We have a similar option on mina,netty etc. named {{disconnect}}. So the option
could be named like that as well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira