activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r396898 - in /incubator/activemq/trunk/activemq-web-demo: ./ src/main/webapp/WEB-INF/web.xml src/main/webapp/index.html src/main/webapp/send.html
Date Wed, 26 Apr 2006 20:58:29 GMT
Author: jstrachan
Date: Tue Apr 25 07:21:25 2006
New Revision: 396898

URL: http://svn.apache.org/viewcvs?rev=396898&view=rev
Log:
updated the demo to reflect the latest changes in activemq-web

Modified:
    incubator/activemq/trunk/activemq-web-demo/   (props changed)
    incubator/activemq/trunk/activemq-web-demo/src/main/webapp/WEB-INF/web.xml
    incubator/activemq/trunk/activemq-web-demo/src/main/webapp/index.html
    incubator/activemq/trunk/activemq-web-demo/src/main/webapp/send.html

Propchange: incubator/activemq/trunk/activemq-web-demo/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Apr 25 07:21:25 2006
@@ -0,0 +1,2 @@
+
+activemq-data

Modified: incubator/activemq/trunk/activemq-web-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web-demo/src/main/webapp/WEB-INF/web.xml?rev=396898&r1=396897&r2=396898&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web-demo/src/main/webapp/WEB-INF/web.xml (original)
+++ incubator/activemq/trunk/activemq-web-demo/src/main/webapp/WEB-INF/web.xml Tue Apr 25
07:21:25 2006
@@ -47,6 +47,12 @@
         <load-on-startup>1</load-on-startup>
     </servlet>
 
+    <servlet>
+        <servlet-name>MessageServlet</servlet-name>
+        <servlet-class>org.apache.activemq.web.MessageServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
     <!-- the queue browse servlet -->
     <servlet>
         <servlet-name>QueueBrowseServlet</servlet-name>
@@ -63,6 +69,11 @@
     <servlet-mapping>
         <servlet-name>AjaxServlet</servlet-name>
         <url-pattern>/amq/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>MessageServlet</servlet-name>
+        <url-pattern>/message/*</url-pattern>
     </servlet-mapping>
     
     <servlet-mapping>

Modified: incubator/activemq/trunk/activemq-web-demo/src/main/webapp/index.html
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web-demo/src/main/webapp/index.html?rev=396898&r1=396897&r2=396898&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web-demo/src/main/webapp/index.html (original)
+++ incubator/activemq/trunk/activemq-web-demo/src/main/webapp/index.html Tue Apr 25 07:21:25
2006
@@ -39,9 +39,8 @@
 </p>
 
 <p>
-<a href="amq/FOO/BAR?timeout=10000">Receive a message</a>
+<a href="message/FOO/BAR?timeout=10000&type=queue">Receive a message</a>
 </p>
-
 
 <h2>Queue browser example</h2>
 

Modified: incubator/activemq/trunk/activemq-web-demo/src/main/webapp/send.html
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web-demo/src/main/webapp/send.html?rev=396898&r1=396897&r2=396898&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web-demo/src/main/webapp/send.html (original)
+++ incubator/activemq/trunk/activemq-web-demo/src/main/webapp/send.html Tue Apr 25 07:21:25
2006
@@ -8,9 +8,17 @@
 <body>
 <h1>Send a JMS Message</h1>
 
-<form action="amq/FOO/BAR?topic=false" method="post">
+<form action="message/FOO/BAR" method="post">
   <p>
-    <label for="body">Message body: </label>
+    <label for="destination">Destination name</label>
+    <input type="text" name="destination"/>
+  </p>
+  <p>
+    <label for="type">Destination Type: </label>
+    <select name="type">
+      <option selected value="queue">Queue</option>
+      <option type" value="topic">Topic</option>
+   </select>
   </p>
   <p>
     <textarea name="body" rows="30" cols="80">



Mime
View raw message