stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris snow (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (STRATOS-616) Replace JNDI with AMQP Standard Connection method
Date Fri, 18 Apr 2014 05:47:16 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chris snow updated STRATOS-616:
-------------------------------

    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:

{quote}
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.
{quote}

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:

{quote}
... 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
{quote}

  was:
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:

{quote}
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.
{quote}

The RabbitMQ client guide: http://www.rabbitmq.com/api-guide.html

Tip from Nirmal:

{quote}
... 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
{quote}


> Replace JNDI with AMQP Standard Connection method
> -------------------------------------------------
>
>                 Key: STRATOS-616
>                 URL: https://issues.apache.org/jira/browse/STRATOS-616
>             Project: Stratos
>          Issue Type: Improvement
>          Components: Autoscaler, Cloud Controller, Load Balancer, Stratos Installer,
Stratos Manager
>    Affects Versions: FUTURE
>            Reporter: chris snow
>             Fix For: FUTURE
>
>
> 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:
> {quote}
> 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.
> {quote}
> 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:
> {quote}
> ... 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
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message