stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris snow (JIRA)" <>
Subject [jira] [Commented] (STRATOS-616) Replace JNDI with AMQP Standard Connection method
Date Thu, 17 Apr 2014 19:44:14 GMT


chris snow commented on STRATOS-616:

Until we sort out AQMP, what do you think to this patch in the stratos installer to comment
out the amqp connector?

Will this cause any other issues with stratos?

diff --git a/tools/stratos-installer/ b/tools/stratos-installer/
index 3b6179b..8dae806 100755
--- a/tools/stratos-installer/
+++ b/tools/stratos-installer/
@@ -535,6 +535,8 @@ fi
 if [[ ($profile = "default" && $config_mb = "true") ]]; then
     echo "Extracting ActiveMQ"
     tar -xzf $activemq_pack -C $stratos_path
+    # disable amqp connector to prevent conflicts with openstack
+    sed -r -i -e 's@^(\s*)(<transportConnector name="amqp".*\s*)$@\1<!--\2-->@g'


> Replace JNDI with AMQP Standard Connection method
> -------------------------------------------------
>                 Key: STRATOS-616
>                 URL:
>             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.
> 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
> {quote}
> The RabbitMQ client guide:
> Tip from Nirmal:
> {quote}
> ... on top of my head, all you have to change is the code at
> {quote}

This message was sent by Atlassian JIRA

View raw message