Constructor and description |
---|
MailService
(java.lang.Object delegate) |
Type | Name and description |
---|---|
void |
close() |
static MailService |
createEventBusProxy(Vertx vertx, java.lang.String address) create a proxy of MailService that delegates to the mail service running somewhere else via the event bus |
java.lang.Object |
getDelegate() |
MailService |
sendMail(java.util.Map<java.lang.String, java.lang.Object> email = [:], io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String, java.lang.Object>>> resultHandler) |
Methods inherited from class | Name |
---|---|
class MailClient |
close, createNonShared, createShared, createShared, getDelegate, sendMail |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
create a proxy of MailService that delegates to the mail service running somewhere else via the event bus
vertx
- the Vertx instance the proxy will be run inaddress
- the eb address of the mail service running somewhere, default is "vertx.mail"