Modifier and Type | Method and Description |
---|---|
static ProvideDescriptor |
MailUtil.build(org.ow2.petals.component.framework.api.configuration.SuConfigurationParameters extensions)
Extract mail session properties from the service unit for Provide node
|
static ConsumeDescriptor |
MailUtil.buildConsumeDescriptor(org.ow2.petals.component.framework.api.configuration.SuConfigurationParameters extensions)
Extract mail session properties from the service unit for Consume node
|
static ProvideDescriptor |
MailUtil.buildFromPayload(Node node)
Build a descriptor by extracting all information from the associated JBI message payload.
|
static ProvideDescriptor |
MailUtil.buildFromProperties(org.ow2.petals.component.framework.api.message.Exchange exchange,
Node node)
Retrieve mail session properties from Normalized message properties.
|
com.sun.mail.smtp.SMTPMessage |
MimeMessageManager.buildSMTPMessage(javax.mail.Session session,
ProvideDescriptor provideDescriptor,
org.ow2.petals.component.framework.api.message.Exchange exchange,
String mailBody)
Create a
SMTPMessage from the given NormalizedMessage , including mail Session
information. |
protected static void |
MailUtil.checkProperties(ConsumeDescriptor consumeDescriptor)
Check the properties extracted from the address URI.
|
static void |
MailUtil.checkProperties(ProvideDescriptor provideDescriptor)
Check the properties extracted from the address URI.
|
static String |
MailUtil.extractMailBodyFromPayload(Node node) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractSendService.sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange)
Standard service : send the jbi message content as an email
the email address and subject are defined in the service unit |
Modifier and Type | Method and Description |
---|---|
void |
SendMailOperation.sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange)
Sends mail by using component service
|
Modifier and Type | Method and Description |
---|---|
void |
SendMailOperation.sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
SendMailOperation.sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange) |
Copyright © 2005-2018 Linagora. All Rights Reserved.