2 Replies Latest reply on Jan 31, 2008 7:03 PM by Pete Muir

    InboundJavaMail MDB

    Pucky Loucks Newbie

      I'm wondering if it's possible to configure an MDB to use the java:/Mail jndi reference rather than hardcoding it via @annotations
      i.d. something like this.

      @MessageDriven(activationConfig = {
      @ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="java:/Mail")
      })
      @ResourceAdapter("mail-ra.rar")