1 Reply Latest reply on May 18, 2010 1:14 PM by Leo van den berg

    Message driven bean receiving mail in weblogic 11g

    ben abdallah Firas Newbie

      this message driven bean work very fine in jboss



      @MessageDriven(activationConfig = {
                @ActivationConfigProperty(propertyName = "mailServer", propertyValue = "192.168.1.45"),
                @ActivationConfigProperty(propertyName = "mailFolder", propertyValue = "INBOX"),
                @ActivationConfigProperty(propertyName = "storeProtocol", propertyValue = "pop3"),
                @ActivationConfigProperty(propertyName = "userName", propertyValue = "comex"),
                @ActivationConfigProperty(propertyName = "password", propertyValue = "comex"),
                @ActivationConfigProperty(propertyName = "pollingInterval", propertyValue = "1000")})
      @ResourceAdapter("mail-ra.rar")
      @Name("mailListener")
      public class MailReceptionListenerMDB implements
      MailListener {
      
      public void onMessage(Message message) {
                // TODO Auto-generated method stub
      }
      
      }
      



      but he don t work in weblogic i don t if he have equivalent of Mailistner in weblogic or other solution any suggestion please


      thanks ,