I worked with the JavaEE 6 Tutorial and there are some differences:
http://download.oracle.com/javaee/6/tutorial/doc/bnbpo.html
@MessageDriven(mappedName = "jms/Queue", activationConfig = {
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")
, @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
}
)
public class SimpleMessageBean implements MessageListener {
But before that I tried the 5-Totorial and this didnt run either... :(
I also already checked the resource from the admin console, I cant see any problem there.
[Message sent by forum member 'hansbjoern']
http://forums.java.net/jive/thread.jspa?messageID=484100