Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
FUTURE
-
None
Description
Using JNDI to connect to AMQP is a legacy carry over from the days of JMS. JNDI limits the choice of AMQP servers for Stratos.
http://www.rabbitmq.com/java-client.html is one option for connecting to any AMQP standard server in a AMQP compliant way:
The RabbitMQ Java client library allows Java code to interface to AMQP servers. The library is platform neutral; the binary distributions listed below differ only in the version of Java they are intended for use with. Please see the specification page for more information on AMQP interoperation and standards-conformance.
The library is open-source, and is dual-licensed under the Mozilla Public License v1.1 and the GNU General Public License, v2.
You will need an AMQP server, such as our very own RabbitMQ server, to use with the client library.
The RabbitMQ client guide: http://www.rabbitmq.com/api-guide.html
Apache QPid Proton also seems to be another AMQP client: http://qpid.apache.org/proton/
Tip from Nirmal:
... on top of my head, all you have to change is the code at https://github.com/apache/incubator-stratos/tree/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/broker
The AMQP implementation must support failover for connections.
Attachments
Issue Links
- is related to
-
STRATOS-618 Installer sets up ActiveMQ with AMQP, preventing port 4672 being used by Openstack
- Resolved
-
STRATOS-661 Create debian/ubuntu native package
- Closed