activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r941679 - in /activemq/trunk/activemq-web-demo/src: main/webapp/index.html test/java/org/apache/activemq/web/RestTest.java
Date Thu, 06 May 2010 11:49:26 GMT
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();



Mime
View raw message