activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/5] activemq-artemis git commit: Fix REST examples
Date Mon, 07 Aug 2017 22:47:44 GMT
Fix REST examples


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e3aa71a1
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e3aa71a1
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e3aa71a1

Branch: refs/heads/master
Commit: e3aa71a1a0f5af34cf987a5d32222589248ec1b5
Parents: d3f68a1
Author: Justin Bertram <jbertram@apache.org>
Authored: Thu Aug 3 14:44:43 2017 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Aug 7 18:47:33 2017 -0400

----------------------------------------------------------------------
 .../standard/rest/dup-send/src/main/resources/broker.xml         | 4 ++--
 .../standard/rest/javascript-chat/src/main/resources/broker.xml  | 2 +-
 .../standard/rest/javascript-chat/src/main/webapp/index.html     | 2 +-
 examples/features/standard/rest/jms-to-rest/postOrder.py         | 2 +-
 examples/features/standard/rest/jms-to-rest/receiveOrder.py      | 2 +-
 .../standard/rest/jms-to-rest/src/main/resources/broker.xml      | 4 ++--
 .../features/standard/rest/push/src/main/resources/broker.xml    | 4 ++--
 7 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/dup-send/src/main/resources/broker.xml
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/dup-send/src/main/resources/broker.xml b/examples/features/standard/rest/dup-send/src/main/resources/broker.xml
index 7e5527a..577f5b0 100644
--- a/examples/features/standard/rest/dup-send/src/main/resources/broker.xml
+++ b/examples/features/standard/rest/dup-send/src/main/resources/broker.xml
@@ -27,10 +27,10 @@ under the License.
       <acceptors>
          <acceptor name="in-vm">vm://0</acceptor>
       </acceptors>
-   <addresses>
+      <addresses>
          <address name="orders">
             <anycast>
-               <queue name="jms.queue.orders"/>
+               <queue name="orders"/>
             </anycast>
          </address>
       </addresses>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/javascript-chat/src/main/resources/broker.xml
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/javascript-chat/src/main/resources/broker.xml
b/examples/features/standard/rest/javascript-chat/src/main/resources/broker.xml
index d41cd6d..30a5ff3 100644
--- a/examples/features/standard/rest/javascript-chat/src/main/resources/broker.xml
+++ b/examples/features/standard/rest/javascript-chat/src/main/resources/broker.xml
@@ -27,7 +27,7 @@ under the License.
       <acceptors>
          <acceptor name="in-vm">vm://0</acceptor>
       </acceptors>
-   <addresses>
+      <addresses>
          <address name="chat">
             <multicast/>
          </address>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/javascript-chat/src/main/webapp/index.html
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/javascript-chat/src/main/webapp/index.html b/examples/features/standard/rest/javascript-chat/src/main/webapp/index.html
index 87c62f2..22c9fbf 100644
--- a/examples/features/standard/rest/javascript-chat/src/main/webapp/index.html
+++ b/examples/features/standard/rest/javascript-chat/src/main/webapp/index.html
@@ -148,7 +148,7 @@ under the License.
             }
         }
 
-        initializeSenderAndTop('jms.topic.chat');
+        initializeSenderAndTop('chat');
 
 
         setTimeout("receiveMessage()", 800);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/jms-to-rest/postOrder.py
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/jms-to-rest/postOrder.py b/examples/features/standard/rest/jms-to-rest/postOrder.py
index e0440f0..a9b96d2 100644
--- a/examples/features/standard/rest/jms-to-rest/postOrder.py
+++ b/examples/features/standard/rest/jms-to-rest/postOrder.py
@@ -17,7 +17,7 @@
 import httplib, urlparse
 
 conn = httplib.HTTPConnection("localhost:8080")
-conn.request("HEAD", "/queues/jms.queue.orders")
+conn.request("HEAD", "/queues/orders")
 res = conn.getresponse()
 createLink = res.getheader("msg-create")
 print createLink

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/jms-to-rest/receiveOrder.py
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/jms-to-rest/receiveOrder.py b/examples/features/standard/rest/jms-to-rest/receiveOrder.py
index 076978b..2e86515 100644
--- a/examples/features/standard/rest/jms-to-rest/receiveOrder.py
+++ b/examples/features/standard/rest/jms-to-rest/receiveOrder.py
@@ -17,7 +17,7 @@
 import httplib, urlparse
 
 conn = httplib.HTTPConnection("localhost:8080")
-conn.request("HEAD", "/queues/jms.queue.orders")
+conn.request("HEAD", "/queues/orders")
 res = conn.getresponse()
 consumersLink = res.getheader("msg-pull-consumers")
 consumersParsed = urlparse.urlparse(consumersLink)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/jms-to-rest/src/main/resources/broker.xml
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/jms-to-rest/src/main/resources/broker.xml b/examples/features/standard/rest/jms-to-rest/src/main/resources/broker.xml
index d481507..1628bdb 100644
--- a/examples/features/standard/rest/jms-to-rest/src/main/resources/broker.xml
+++ b/examples/features/standard/rest/jms-to-rest/src/main/resources/broker.xml
@@ -28,10 +28,10 @@ under the License.
          <acceptor name="in-vm">vm://0</acceptor>
          <acceptor name="netty">tcp://localhost:61616</acceptor>
       </acceptors>
-   <addresses>
+      <addresses>
          <address name="orders">
             <anycast>
-               <queue name="jms.queue.orders"/>
+               <queue name="orders"/>
             </anycast>
          </address>
       </addresses>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e3aa71a1/examples/features/standard/rest/push/src/main/resources/broker.xml
----------------------------------------------------------------------
diff --git a/examples/features/standard/rest/push/src/main/resources/broker.xml b/examples/features/standard/rest/push/src/main/resources/broker.xml
index 9e91b5a..d58574e 100644
--- a/examples/features/standard/rest/push/src/main/resources/broker.xml
+++ b/examples/features/standard/rest/push/src/main/resources/broker.xml
@@ -31,12 +31,12 @@ under the License.
    <addresses>
          <address name="shipping">
             <anycast>
-               <queue name="jms.queue.shipping"/>
+               <queue name="shipping"/>
             </anycast>
          </address>
          <address name="orders">
             <anycast>
-               <queue name="jms.queue.orders"/>
+               <queue name="orders"/>
             </anycast>
          </address>
       </addresses>


Mime
View raw message