Annotation Interface 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 in application.properties:
 quarkus.mailer.client1.host = smtp.example.com
 
Then to inject the proper Mailer, you would need to use MailerName like indicated below:
     &#64Inject
     &#64MailerName("client1")
     Mailer mailer;
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The Mailer name.
  • Element Details

    • value

      String value
      The Mailer name.
      Default:
      ""