Fix REST examples

This commit is contained in:
Justin Bertram 2017-08-03 14:44:43 -05:00 committed by Clebert Suconic
parent d3f68a1a3a
commit e3aa71a1a0
7 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ under the License.
<addresses>
<address name="orders">
<anycast>
<queue name="jms.queue.orders"/>
<queue name="orders"/>
</anycast>
</address>
</addresses>

View File

@ -148,7 +148,7 @@ under the License.
}
}
initializeSenderAndTop('jms.topic.chat');
initializeSenderAndTop('chat');
setTimeout("receiveMessage()", 800);

View File

@ -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

View File

@ -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)

View File

@ -31,7 +31,7 @@ under the License.
<addresses>
<address name="orders">
<anycast>
<queue name="jms.queue.orders"/>
<queue name="orders"/>
</anycast>
</address>
</addresses>

View File

@ -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>