Hey,
have someone an example to implement the communication between OSGi/Equinox
and JMS/ActiveMQ?
I've already imported the package org.eclipse.ecf.provider.jms and .activemq
and found in the plug-in list the libaries for activemq (activemq3.1M5) but
my example doesn't found the libs nor can these import.
----
ActiveMQQueue queue = new ActiveMQQueue("Queue Test");
ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("tcp://localhost:61616");
ActiveMQConnection connection = (ActiveMQConnection)
factory.createConnection();
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = session.createProducer(queue);
producer.send(session.createTextMessage("Test"));
connection.close();
----
Have you any idea?
I need a short example for Queue(Sender/Receiver) and
Topic(Publisher/Subscriber) in OSGi Framework.
How I must to set up my OSGi bundle?
Best regards,
Sebastian
--
View this message in context: http://www.nabble.com/Communication-between-OSGi-Equinox---JMS-ActiveMQ-tp20244097p20244097.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
|