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!");
        }

}

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970517
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to