activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1128023 - /activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala
Date Thu, 26 May 2011 18:32:08 GMT
Author: chirino
Date: Thu May 26 18:32:08 2011
New Revision: 1128023

URL: http://svn.apache.org/viewvc?rev=1128023&view=rev
Log:
Update the stop command since the broker base url changed.

Modified:
    activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala

Modified: activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala?rev=1128023&r1=1128022&r2=1128023&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Stop.scala
Thu May 26 18:32:08 2011
@@ -75,7 +75,7 @@ class Stop extends Action with Logging {
         }
 
         val connection = new URL(
-          "http://%s:%s%s/action/shutdown".format(host, port, prefix)
+          "http://%s:%s%s/broker/action/shutdown".format(host, port, prefix)
         ).openConnection.asInstanceOf[HttpURLConnection]
         connection.setRequestMethod("POST");
         auth.foreach{x=> connection.setRequestProperty("Authorization", "Basic "+new String(Base64.encodeBase64(x.getBytes("UTF-8")),
"UTF-8")) }



Mime
View raw message