Package io.quarkus.mailer.runtime
Class MutinyMailerImpl
- java.lang.Object
-
- io.quarkus.mailer.runtime.MutinyMailerImpl
-
- All Implemented Interfaces:
ReactiveMailer
@ApplicationScoped public class MutinyMailerImpl extends Object implements ReactiveMailer
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.vertx.mutiny.ext.mail.MailClientclient(package private) MailerSupportmailerSupport(package private) MockMailboxImplmockMailbox(package private) io.vertx.mutiny.core.Vertxvertx
-
Constructor Summary
Constructors Constructor Description MutinyMailerImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.smallrye.mutiny.Uni<io.vertx.core.buffer.Buffer>getAttachmentStream(io.vertx.mutiny.core.Vertx vertx, Attachment attachment)io.smallrye.mutiny.Uni<Void>send(Mail... mails)Sends the given emails.
-
-
-
Field Detail
-
client
@Inject io.vertx.mutiny.ext.mail.MailClient client
-
vertx
@Inject io.vertx.mutiny.core.Vertx vertx
-
mockMailbox
@Inject MockMailboxImpl mockMailbox
-
mailerSupport
@Inject MailerSupport mailerSupport
-
-
Method Detail
-
send
public io.smallrye.mutiny.Uni<Void> send(Mail... mails)
Description copied from interface:ReactiveMailerSends the given emails.- Specified by:
sendin interfaceReactiveMailer- Parameters:
mails- the emails to send, must not benull, must not containnull- Returns:
- a
Uniindicating when the mails have been sent. TheUnimay fire a failure if the emails cannot be sent.
-
getAttachmentStream
public static io.smallrye.mutiny.Uni<io.vertx.core.buffer.Buffer> getAttachmentStream(io.vertx.mutiny.core.Vertx vertx, Attachment attachment)
-
-