Hi i am working on an assignment in which i should get a MDB in Glassfish to receive messages from ActiveMQ.
i deployed the ActiveMQ resource adapter(there were no default values even though ActiveMQ was running).
then created Admin Object Resource and a Physical Destination.
i created the MDB n then i am supposed to provide a deployment descriptor sun-ejb-jar.xml.
when i searched through glassfish folder i found 4 such files. which one am i supposed to edit??
also while writing a sample java class that posts messages to ActiveMQ:
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.jms.Topic;
import org.apache.activemq.ActiveMQConnectionFactory;
....
i m gettin error in last import "package does not exist.".
is there something else i m supposed to do??
thanks in advance for any help...
[Message sent by forum member 'anushree123' (anushree123)]
http://forums.java.net/jive/thread.jspa?messageID=345032