Classes
Methods
(static) MailService.createEventBusProxy(vertx, address) → {MailService}
create a proxy of MailService that delegates to the mail service running somewhere else via the event bus
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the Vertx instance the proxy will be run in |
address |
string | the eb address of the mail service running somewhere, default is "vertx.mail" |
Returns:
MailService instance that can then be used to send multiple mails
- Type
- MailService
(static) MailService.createEventBusProxy(vertx, address) → {MailService}
create a proxy of MailService that delegates to the mail service running somewhere else via the event bus
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the Vertx instance the proxy will be run in |
address |
string | the eb address of the mail service running somewhere, default is "vertx.mail" |
- Source:
Returns:
MailService instance that can then be used to send multiple mails
- Type
- MailService