Class MailEndpointBuilderFactory.MailHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.MailEndpointBuilderFactory.MailHeaderNameBuilder
-
- Enclosing interface:
- MailEndpointBuilderFactory
public static class MailEndpointBuilderFactory.MailHeaderNameBuilder extends Object
The builder of headers' name for the IMAP component.
-
-
Constructor Summary
Constructors Constructor Description MailHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbcc()Bcc.Stringcc()Cc.StringcontentType()The content type.StringcopyTo()After processing a mail message, it can be copied to a mail folder with the given name.Stringdelete()Deletes the messages after they have been processed.Stringfrom()From.StringmailMessageId()The message ID.StringmoveTo()After processing a mail message, it can be moved to a mail folder with the given name.StringreplyTo()Reply to.Stringsubject()Subject.Stringto()To.
-
-
-
Method Detail
-
subject
public String subject()
Subject. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Subject.
-
from
public String from()
From. The option is a:Stringtype. Group: common- Returns:
- the name of the header
From.
-
to
public String to()
To. The option is a:Stringtype. Group: common- Returns:
- the name of the header
To.
-
cc
public String cc()
Cc. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Cc.
-
bcc
public String bcc()
Bcc. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Bcc.
-
replyTo
public String replyTo()
Reply to. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Reply-To.
-
contentType
public String contentType()
The content type. The option is a:Stringtype. Group: common- Returns:
- the name of the header
contentType.
-
copyTo
public String copyTo()
After processing a mail message, it can be copied to a mail folder with the given name. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
copyTo.
-
moveTo
public String moveTo()
After processing a mail message, it can be moved to a mail folder with the given name. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
moveTo.
-
delete
public String delete()
Deletes the messages after they have been processed. The option is a:booleantype. Group: consumer- Returns:
- the name of the header
delete.
-
mailMessageId
public String mailMessageId()
The message ID. The option is a:Stringtype. Group: common- Returns:
- the name of the header
MailMessageId.
-
-