cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r539299 - /cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap
Date Fri, 18 May 2007 07:40:13 GMT
Author: felixk
Date: Fri May 18 00:40:12 2007
New Revision: 539299

URL: http://svn.apache.org/viewvc?view=rev&rev=539299
Log:
reformatting ...

Modified:
    cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap?view=diff&rev=539299&r1=539298&r2=539299
==============================================================================
--- cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-jms/cocoon-jms-sample/src/main/resources/COB-INF/database/sitemap.xmap
Fri May 18 00:40:12 2007
@@ -23,95 +23,91 @@
 -->
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-  <map:components>
-    <map:matchers default="wildcard">
-        <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>
-        </map:matcher>
-    </map:matchers>
-    <map:actions>
-      <map:action name="cacheevent" src="org.apache.cocoon.acting.CacheEventAction"/>
-      <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>
-
-    <map:pipes default="caching">
-    <!-- A pipe must be defined configured to use the EventAware cache. -->
-      <map:pipe name="event-aware" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
-        <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/>
-      </map:pipe>
-    </map:pipes>
-  </map:components>
-
-  <map:views>
-    <map:view from-label="content" name="content">
-      <map:serialize type="xml"/>
-    </map:view>
-  </map:views>
-
-  <map:pipelines>
-
-    <!-- Our content must occur in a pipeline configured to use our Event Aware cache
-->
-    <map:pipeline type="event-aware">
-      <map:match pattern="eventcache">
-        <map:generate type="serverpages" src="{0}.xsp"/>
-        <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
-          <map:parameter name="servletPath" value="{request:servletPath}"/>
-          <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
-          <map:parameter name="file" value="{0}.xsp"/>
-          <map:parameter name="remove" value="{0}"/>
-        </map:transform>
-        <map:serialize/>
-      </map:match>
-    </map:pipeline>
-
-    <map:pipeline>
-
-      <map:match pattern="">
-        <map:redirect-to uri="eventcache"/>
-      </map:match>
-
-    <map:match pattern="invalidate">
-        <map:match type="host-matcher" pattern="localhost">
-            <map:act type="cacheevent">
-                <map:parameter name="event" value="{request-param:table}"/>
-            </map:act>
-            <map:read src="invalidated.xml"/>
-        </map:match>
-        <map:read src="access-error.xml"/>
-    </map:match>
-
-    <map:match pattern="jms-invalidate">
-        <map:match type="host-matcher" pattern="localhost">
-            <map:act type="jmsevent">
-                <map:parameter name="message" value="action|{request-param:table}"/>
-            </map:act>
-            <map:read src="invalidated.xml"/>
-        </map:match>
-        <map:read src="access-error.xml"/>
-    </map:match>
-
-      <map:match pattern="*">
-        <map:generate type="serverpages" src="{1}.xsp"/>
-      <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
-          <map:parameter name="servletPath" value="{request:servletPath}"/>
-          <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
-          <map:parameter name="file" value="{1}.xsp"/>
-          <map:parameter name="remove" value="{0}"/>
-      </map:transform>
-        <map:serialize/>
-      </map:match>
-    </map:pipeline>
+    <map:components>
+        <map:matchers default="wildcard">
+            <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>
+            </map:matcher>
+        </map:matchers>
+        <map:actions>
+            <map:action name="cacheevent" src="org.apache.cocoon.acting.CacheEventAction"
/>
+            <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>
+
+        <map:pipes default="caching">
+            <!-- A pipe must be defined configured to use the EventAware cache. -->
+            <map:pipe name="event-aware" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
+                <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"
/>
+            </map:pipe>
+        </map:pipes>
+    </map:components>
+
+    <map:views>
+        <map:view from-label="content" name="content">
+            <map:serialize type="xml" />
+        </map:view>
+    </map:views>
+
+    <map:pipelines>
+
+        <!-- Our content must occur in a pipeline configured to use our Event Aware cache
-->
+        <map:pipeline type="event-aware">
+            <map:match pattern="eventcache">
+                <map:generate type="serverpages" src="{0}.xsp" />
+                <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
+                    <map:parameter name="servletPath" value="{request:servletPath}" />
+                    <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
+                    <map:parameter name="contextPath" value="{request:contextPath}" />
+                    <map:parameter name="file" value="{0}.xsp" />
+                    <map:parameter name="remove" value="{0}" />
+                </map:transform>
+                <map:serialize />
+            </map:match>
+        </map:pipeline>
+
+        <map:pipeline>
+
+            <map:match pattern="">
+                <map:redirect-to uri="eventcache" />
+            </map:match>
+
+            <map:match pattern="invalidate">
+                <map:match type="host-matcher" pattern="localhost">
+                    <map:act type="cacheevent">
+                        <map:parameter name="event" value="{request-param:table}" />
+                    </map:act>
+                    <map:read src="invalidated.xml" />
+                </map:match>
+                <map:read src="access-error.xml" />
+            </map:match>
+
+            <map:match pattern="jms-invalidate">
+                <map:match type="host-matcher" pattern="localhost">
+                    <map:act type="jmsevent">
+                        <map:parameter name="message" value="action|{request-param:table}"
/>
+                    </map:act>
+                    <map:read src="invalidated.xml" />
+                </map:match>
+                <map:read src="access-error.xml" />
+            </map:match>
+
+            <map:match pattern="*">
+                <map:generate type="serverpages" src="{1}.xsp" />
+                <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
+                    <map:parameter name="servletPath" value="{request:servletPath}" />
+                    <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
+                    <map:parameter name="contextPath" value="{request:contextPath}" />
+                    <map:parameter name="file" value="{1}.xsp" />
+                    <map:parameter name="remove" value="{0}" />
+                </map:transform>
+                <map:serialize />
+            </map:match>
+        </map:pipeline>
 
-  </map:pipelines>
+    </map:pipelines>
 </map:sitemap>
 



Mime
View raw message