Package io.quarkus.mailer
Annotation Type MailerName
-
@Target({TYPE,METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) @Documented @Qualifier public @interface MailerName
Marker annotation to select the Mailer. For example, if the Mailer is configured like so inapplication.properties
:quarkus.mailer.client1.host = smtp.example.com
Then to inject the properMailer
, you would need to useMailerName
like indicated below:@Inject @MailerName("client1") Mailer mailer;
-
-
Element Detail
-
value
String value
The Mailer name.- Default:
- ""
-
-