You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2010/05/06 13:49:26 UTC

svn commit: r941679 - in /activemq/trunk/activemq-web-demo/src: main/webapp/index.html test/java/org/apache/activemq/web/RestTest.java

Author: dejanb
Date: Thu May  6 11:49:25 2010
New Revision: 941679

URL: http://svn.apache.org/viewvc?rev=941679&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-1547 - timeout parameter has been renamed

Modified:
    activemq/trunk/activemq-web-demo/src/main/webapp/index.html
    activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java

Modified: activemq/trunk/activemq-web-demo/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-demo/src/main/webapp/index.html?rev=941679&r1=941678&r2=941679&view=diff
==============================================================================
--- activemq/trunk/activemq-web-demo/src/main/webapp/index.html (original)
+++ activemq/trunk/activemq-web-demo/src/main/webapp/index.html Thu May  6 11:49:25 2010
@@ -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>

Modified: activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java?rev=941679&r1=941678&r2=941679&view=diff
==============================================================================
--- activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java (original)
+++ activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java Thu May  6 11:49:25 2010
@@ -14,7 +14,7 @@ public class RestTest extends JettyTestS
         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 JettyTestS
         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();