Hi. I am trying to get my head around how JMS is supported in Karaf. This is my setup.
- Karaf 3.0.3 - An external Message Broker, which is expecting messages in AMQP 1.0 format So, I do not want my Karaf instance to run a broker. Just use the Queues and Topics provided by the external broker. I've installed the jms feature in Karaf, but I have not installed the broker. So I can see the commands that allow me to create a Connection Factory. What I'm not sure about is the createConnectionFactory command, which wants to use (by default) ActiveMQ. If I look at the documentation from ActiveMQ and AMQP <http://activemq.apache.org/amqp.html> , they state they support it. But this page seems to focus on supporting the protocol in the ActiveMQ broker. At the very end, it states to use the Apache Qpid library for an AMQP 1.0 client. I've come away with a few questions. First, will the ActiveMQ client libraries installed by the jms feature support the AMQP protocol? If so, that keeps things simple. Second, if the above answer is no, should I been defining a ConnectionFactory as a service in it's own Bundle, using the Qpid libraries? It doesn't look like the Qpid libraries are osgi bundles, so it might have to be packaged as part of the bundle defining the service. Third, if I am defining the ConnectionFactory as a service, do I need to use the JMS bundle? I can see if has provided a service at org.apache.karaf.jms.JmsService, but I am struggling finding out what this service provides. Sorry if my message is a bit confused, but any insight would be appreciated. Thanks, Ed -- View this message in context: http://karaf.922171.n3.nabble.com/JMS-with-an-AMQP-1-0-supported-client-tp4040352.html Sent from the Karaf - User mailing list archive at Nabble.com.
