From e3aa71a1a0f5af34cf987a5d32222589248ec1b5 Mon Sep 17 00:00:00 2001 From: Justin Bertram Date: Thu, 3 Aug 2017 14:44:43 -0500 Subject: [PATCH] Fix REST examples --- .../standard/rest/dup-send/src/main/resources/broker.xml | 4 ++-- .../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(-) 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 7e5527a8d2..577f5b05fa 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. vm://0 - +
- +
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 d41cd6d4b3..30a5ff323f 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. vm://0 - +
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 87c62f299d..22c9fbf08e 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); diff --git a/examples/features/standard/rest/jms-to-rest/postOrder.py b/examples/features/standard/rest/jms-to-rest/postOrder.py index e0440f0e2a..a9b96d248b 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 diff --git a/examples/features/standard/rest/jms-to-rest/receiveOrder.py b/examples/features/standard/rest/jms-to-rest/receiveOrder.py index 076978ba6b..2e86515a80 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) 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 d481507a9c..1628bdbcef 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. vm://0 tcp://localhost:61616 - +
- +
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 9e91b5ab27..d58574ebc7 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.
- +
- +