Package io.jmix.email

Class EmailerProperties

java.lang.Object
io.jmix.email.EmailerProperties

@Validated @ConfigurationProperties(prefix="jmix.email") public class EmailerProperties extends Object
  • Constructor Details

    • EmailerProperties

      public EmailerProperties(@DefaultValue("DoNotReply@localhost") String fromAddress, @DefaultValue("2") int scheduledSendingDelayCallCount, @DefaultValue("100") int messageQueueCapacity, @DefaultValue("10") int defaultSendingAttemptsLimit, @DefaultValue("240") int sendingTimeoutSec, @DefaultValue("admin@localhost") String adminAddress, @DefaultValue("false") boolean sendAllToAdmin, @DefaultValue("false") boolean useFileStorage, @DefaultValue("admin") String asyncSendingUsername, @DefaultValue("0 * * * * ?") String emailSendingCron, @DefaultValue("0") int maxAgeOfImportantMessages, @DefaultValue("0") int maxAgeOfNonImportantMessages, @DefaultValue("0 0 0 * * ?") String emailCleaningCron, @DefaultValue("false") boolean cleanFileStorage)
  • Method Details

    • getFromAddress

      public String getFromAddress()
      See Also:
      • fromAddress
    • getScheduledSendingDelayCallCount

      public int getScheduledSendingDelayCallCount()
      See Also:
      • scheduledSendingDelayCallCount
    • getMessageQueueCapacity

      public int getMessageQueueCapacity()
      See Also:
      • messageQueueCapacity
    • getDefaultSendingAttemptsLimit

      public int getDefaultSendingAttemptsLimit()
      See Also:
      • defaultSendingAttemptsLimit
    • getSendingTimeoutSec

      public int getSendingTimeoutSec()
      See Also:
      • sendingTimeoutSec
    • getAdminAddress

      public String getAdminAddress()
      See Also:
      • adminAddress
    • isSendAllToAdmin

      public boolean isSendAllToAdmin()
      See Also:
      • sendAllToAdmin
    • isUseFileStorage

      public boolean isUseFileStorage()
      See Also:
      • useFileStorage
    • getAsyncSendingUsername

      public String getAsyncSendingUsername()
      See Also:
      • asyncSendingUsername
    • getUseDefaultQuartzConfiguration

      public boolean getUseDefaultQuartzConfiguration()
      See Also:
      • useDefaultQuartzConfiguration
    • getEmailSendingCron

      public String getEmailSendingCron()
      See Also:
      • emailSendingCron
    • getUseDefaultEmailCleaningQuartzConfiguration

      public boolean getUseDefaultEmailCleaningQuartzConfiguration()
      See Also:
      • useDefaultEmailCleaningQuartzConfiguration
    • getMaxAgeOfImportantMessages

      public int getMaxAgeOfImportantMessages()
      See Also:
      • maxAgeOfImportantMessages
    • getMaxAgeOfNonImportantMessages

      public int getMaxAgeOfNonImportantMessages()
      See Also:
      • maxAgeOfNonImportantMessages
    • getEmailCleaningCron

      public String getEmailCleaningCron()
      See Also:
      • emailCleaningCron
    • getCleanFileStorage

      public boolean getCleanFileStorage()
      See Also:
      • cleanFileStorage