Author: unico
Date: Fri Aug 13 06:38:46 2004
New Revision: 36346

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/access-error.xml
   cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/invalidated.xml
   cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/sitemap.xmap
Log:
port changes from 2.2: enhanced JMS support

Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/access-error.xml
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/access-error.xml   
    (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/access-error.xml   
    Fri Aug 13 06:38:46 2004
@@ -14,4 +14,4 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<html><body><p>access rules forbid you to access this URL.</p></html>
\ No newline at end of file
+<html><body><p>access rules forbid you to access this URL.</p></body></html>

Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/invalidated.xml
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/invalidated.xml    
    (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/invalidated.xml    
    Fri Aug 13 06:38:46 2004
@@ -14,4 +14,4 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<html><body><p>invalidated cache</p></html>
\ No newline at end of file
+<html><body><p>invalidated cache</p></body></html>

Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/sitemap.xmap
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/sitemap.xmap   
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/jms/samples/database/sitemap.xmap   
Fri Aug 13 06:38:46 2004
@@ -16,7 +16,7 @@
 -->
 
 <!--
-  CVS $Id: sitemap.xmap,v 1.3 2004/03/11 16:25:48 stephan Exp $
+  CVS $Id$
 
   Event Cache Sample
 -->
@@ -27,14 +27,17 @@
         <map:matcher name="host-matcher"
                      logger="sitemap.matcher.wildcard"
                      
src="org.apache.cocoon.matching.modular.CachingWildcardMatcher">
-            <input-module name="request"/>
-            <parameter-name>serverName</parameter-name>
+          <input-module name="request"/>
+          <parameter-name>serverName</parameter-name>
         </map:matcher>
     </map:matchers>
     <map:actions>
       <map:action name="cacheevent" 
src="org.apache.cocoon.acting.CacheEventAction"/>
-      <map:action name="jmsevent" 
src="org.apache.cocoon.components.jms.JMSPublisherAction">
-          <parameter name="connection" value="OpenJMS-demo"/>
+      <map:action name="jmsevent"
+                  src="org.apache.cocoon.acting.JMSPublisherAction"
+                  logger="sitemap.actions.jms">
+        <parameter name="connection" value="local-topics"/>
+        <parameter name="topic" value="topic1"/>
       </map:action>
     </map:actions>
 

Reply via email to