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
It's a simple typo change
activateConfig
activationConfig