My JAS is: jboss-4.0.4.GA been installing by jboss-4.0.4.GA-Patch1-installer.jar..
but i wrote a ejb3 message driven bean ..used the annotation:
@ConnectionConfig(destinationType = javax.jms.Queue.class,
destinationJndiName = "queue/ejb3/hello",
durable = true, subscriptionId = "helloMsgBean")
then can't find the class: org.jboss.ejb3.mdb.ConnectionConfig in the jboss-ejb3.jar????????
what's wrong ? thx!!!!
Code:
package com.popgo.mdb;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.ejb.MessageDriven;
import org.jboss.ejb3.mdb.ConnectionConfig;
@MessageDriven
@ConnectionConfig(destinationType = javax.jms.Queue.class,
destinationJndiName = "queue/ejb3/hello",
durable = true, subscriptionId = "helloMsgBean")
public class HelloMsgBean implements MessageListener {
public void onMessage(Message msg) {
// TODO Auto-generated method stub
System.out.println("Hello popgo!");
}
}
How about posting your question on the EJB3 forum?