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
Modifier and TypeMethodDescriptiongenerateUuid
(MailEndpoint mailEndpoint, jakarta.mail.Message message) Generates an unique ID of the mail message depending on if its POP3 or IMAP protocol.
-
Method Details
-
generateUuid
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.
-