Fix REST examples
This commit is contained in:
parent
d3f68a1a3a
commit
e3aa71a1a0
|
@ -30,7 +30,7 @@ under the License.
|
|||
<addresses>
|
||||
<address name="orders">
|
||||
<anycast>
|
||||
<queue name="jms.queue.orders"/>
|
||||
<queue name="orders"/>
|
||||
</anycast>
|
||||
</address>
|
||||
</addresses>
|
||||
|
|
|
@ -148,7 +148,7 @@ under the License.
|
|||
}
|
||||
}
|
||||
|
||||
initializeSenderAndTop('jms.topic.chat');
|
||||
initializeSenderAndTop('chat');
|
||||
|
||||
|
||||
setTimeout("receiveMessage()", 800);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -31,7 +31,7 @@ under the License.
|
|||
<addresses>
|
||||
<address name="orders">
|
||||
<anycast>
|
||||
<queue name="jms.queue.orders"/>
|
||||
<queue name="orders"/>
|
||||
</anycast>
|
||||
</address>
|
||||
</addresses>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue