activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram_Java_Engineer <ramachandra.bh...@gmail.com>
Subject Re: Communication between OSGi/Equinox - JMS/ActiveMQ
Date Fri, 30 Jul 2010 10:15:49 GMT

Hey Sebastian,

Did u find any useful source for the implementation of OSGi/Equinox and
JMS/ActiveMQ.
I am not finding anything in net.Please do let me know. 

Regards,
Ram


Schneider, Sebastian wrote:
> 
> 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://old.nabble.com/Communication-between-OSGi-Equinox---JMS-ActiveMQ-tp20244097p29304675.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message