[jboss-user] [Messaging, JMS & JBossMQ] - activationConfig for MailListener

drab do-not-reply at jboss.com
Thu Jun 28 17:52:51 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058942#4058942

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058942



More information about the jboss-user mailing list