3 Replies Latest reply on Feb 13, 2008 3:19 AM by koenhandekyn

    activationConfig for MailListener

    drab

      Hi,

      I have an MDB that should read incoming mails:

      @MessageDriven(activationConfig = {
       @ActivationConfigProperty(propertyName = "mailServer", propertyValue = "mail.com"),
       @ActivationConfigProperty(propertyName = "mailFolder", propertyValue = "Bounce"),
       @ActivationConfigProperty(propertyName = "storeProtocol", propertyValue = "imap"),
       @ActivationConfigProperty(propertyName = "userName", propertyValue = "me"),
       @ActivationConfigProperty(propertyName = "password", propertyValue = "password") })
      @ResourceAdapter("mail-ra.rar")
      @Name("bouncingMailListener")
      public class BouncingMailListenerMDB implements MailListener {


      but I get the error message "Failed to execute folder check". It looks like he can't even get far enough to check folders because when I use an incorrect password, I get the same error message.
      Now what I think I'm missing is the SSL encryption. How do I specify that I'm using ssl, and how do I specify the port? Unfortunately I could nowhere find a list of activationConfigProperties to check. Anyone has a link to a list with the available properties?

      thanks for any help

      Dirk