1 Reply Latest reply on Dec 8, 2006 5:58 AM by weston.price

    Problem with MDB

    alexcc_06

      I am new to EJB3. I am trying to write a MDB using Annotation. I saw couple of examples, it starts like

      @MessageDriven(activateConfig =
      {
      @ActivationConfigProperty(propertyName="destinationType",
      propertyValue="javax.jms.Queue"),
      @ActivationConfigProperty(propertyName="destination",
      propertyValue="queue/mdb")
      })


      When I write like this, it gives me error that activateConfig is undefined? Which class should I import to resolve this error?


      Please let me know.

      Thanks,
      --Alex