Package org.apache.camel.component.mail
Interface MailUidGenerator
-
- All Known Implementing Classes:
DefaultMailUidGenerator
public interface MailUidGenerator
To generate an unique ID of the mail message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateUuid(MailEndpoint mailEndpoint, javax.mail.Message message)
Generates an unique ID of the mail message depending on if its POP3 or IMAP protocol.
-
-
-
Method Detail
-
generateUuid
String generateUuid(MailEndpoint mailEndpoint, javax.mail.Message message)
Generates an unique ID of the mail message depending on if its POP3 or IMAP protocol.- Parameters:
message
- the mail message- Returns:
- the unique id, must never be null.
-
-