[jboss-user] [EJB 3.0] - Problem with MDB

alexcc_06 do-not-reply at jboss.com
Fri Dec 8 05:55:02 EST 2006


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

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

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



More information about the jboss-user mailing list