And if your project is a regular Java application and not a web application, then simply putting the properties file into the project at the root level causes it to be in the project's classpath.
Annotation Type MessageDriven
Optional Element Summary
A product specific name(e.g. global JNDI name of a queue) that this message-driven bean should be mapped to.
igor bolsovitch wrote:
Does mappedName attribute work with @MessageDriven EJB3.0 annotation with jboss 5.0 AS ?
No it doesn't. The mappedName in JBoss is considered to be the JNDI name of the bean. Since MDBs don't get bound to the JNDI for lookup, the mappedName isn't used for MDBs.