camel-mail - add option for searchterm
--------------------------------------
Key: CAMEL-1069
URL: https://issues.apache.org/activemq/browse/CAMEL-1069
Project: Apache Camel
Issue Type: New Feature
Components: camel-mail
Reporter: Claus Ibsen
Priority: Minor
Fix For: 2.0.0
The mail API has SearchTerm to allow filtering a mail folder when consuming.
We should allow options/configuration to set a reference to a class
implementing javax.mail.search.SearchTerm so end users can code their own
filter how to filer mails.
We could consider adding some kind of expression support for the most common
SearchTerm:
- subject
- from
- to
- body
- flags
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.