Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-616

Replace JNDI with AMQP Standard Connection method

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              snowch chris snow
              snowch chris snow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: