mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-1547 - timeout parameter has been renamed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@941679 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a05e84eea3
commit
6e1d530029
|
@ -117,7 +117,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<a href="message/FOO/BAR?timeout=10000&type=queue">Receive a message</a>
|
||||
<a href="message/FOO/BAR?readTimeout=10000&type=queue">Receive a message</a>
|
||||
</p>
|
||||
|
||||
<h2>Queue browser example</h2>
|
||||
|
|
|
@ -14,7 +14,7 @@ public class RestTest extends JettyTestSupport {
|
|||
httpClient.start();
|
||||
ContentExchange contentExchange = new ContentExchange();
|
||||
httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
|
||||
contentExchange.setURL("http://localhost:8080/message/test?timeout=1000&type=queue");
|
||||
contentExchange.setURL("http://localhost:8080/message/test?readTimeout=1000&type=queue");
|
||||
httpClient.send(contentExchange);
|
||||
contentExchange.waitForDone();
|
||||
assertEquals("test", contentExchange.getResponseContent());
|
||||
|
@ -34,7 +34,7 @@ public class RestTest extends JettyTestSupport {
|
|||
httpClient.start();
|
||||
ContentExchange contentExchange = new ContentExchange();
|
||||
httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
|
||||
contentExchange.setURL("http://localhost:8080/message/test?timeout=1000&type=queue");
|
||||
contentExchange.setURL("http://localhost:8080/message/test?readTimeout=1000&type=queue");
|
||||
contentExchange.setRequestHeader("selector", "test=2");
|
||||
httpClient.send(contentExchange);
|
||||
contentExchange.waitForDone();
|
||||
|
|
Loading…
Reference in New Issue