servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r564874 - /incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Date Sat, 11 Aug 2007 08:54:58 GMT
Author: gertv
Date: Sat Aug 11 01:54:57 2007
New Revision: 564874

URL: http://svn.apache.org/viewvc?view=rev&rev=564874
Log:
Fix for SM-1025: Example for <eip:resequencer/> in archetype

Modified:
    incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml

Modified: incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=diff&rev=564874&r1=564873&r2=564874
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++ incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Sat Aug 11 01:54:57 2007
@@ -1,116 +1,122 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
-
-  <eip:static-recipient-list service="replaceMe:entryPoint" endpoint="endpoint">
-    <eip:recipients>
-      <eip:exchange-target service="replaceMe:wireTap" />
-      <eip:exchange-target service="replaceMe:aggregatorSplitter" />
-    </eip:recipients>
-  </eip:static-recipient-list>
-
-  <eip:xpath-splitter service="replaceMe:aggregatorSplitter" endpoint="endpoint" 
-                      xpath="/*/*" namespaceContext="#nsContext">
-    <eip:target>
-      <eip:exchange-target service="test:aggregator" />
-    </eip:target>
-  </eip:xpath-splitter>
-  
-  <eip:split-aggregator service="replaceMe:aggregator" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace5" />
-    </eip:target>
-  </eip:split-aggregator>
-
-  <eip:wire-tap service="replaceMe:wireTap" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:xpathSplitter" />
-    </eip:target>
-    <eip:inListener>
-      <eip:exchange-target service="replaceMe:trace1" />
-    </eip:inListener>
-  </eip:wire-tap>
-  
-  <eip:xpath-splitter service="replaceMe:xpathSplitter" endpoint="endpoint" 
-                      xpath="/*/*" namespaceContext="#nsContext">
-    <eip:target>
-      <eip:exchange-target uri="service:http://servicemix.apache.org/replaceMe/router"
/>
-    </eip:target>
-  </eip:xpath-splitter>
-  
-  <eip:content-based-router service="replaceMe:router" endpoint="endpoint">
-    <eip:rules>
-      <eip:routing-rule>
-        <eip:predicate>
-          <eip:xpath-predicate xpath="count(/replaceMe:echo) = 1" namespaceContext="#nsContext"
/>
-        </eip:predicate>
-        <eip:target>
-          <eip:exchange-target uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint"
/>
-        </eip:target>
-      </eip:routing-rule>
-      <eip:routing-rule>
-        <!-- there is no predicate, so this is the default destination -->
-        <eip:target>
-          <eip:exchange-target service="replaceMe:recipients" />
-        </eip:target>
-      </eip:routing-rule>
-    </eip:rules>
-  </eip:content-based-router>
-  
-  <eip:pipeline service="replaceMe:pipeline" endpoint="endpoint">
-    <eip:transformer>
-      <eip:exchange-target service="replaceMe:routingSlip" />
-    </eip:transformer>
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace2" />
-    </eip:target>
-  </eip:pipeline>
-  
-  <eip:static-recipient-list service="replaceMe:recipients" endpoint="endpoint">
-    <eip:recipients>
-      <eip:exchange-target service="replaceMe:messageFilter" />
-      <eip:exchange-target service="replaceMe:trace4" />
-    </eip:recipients>
-  </eip:static-recipient-list>
-  
-  <eip:static-routing-slip service="replaceMe:routingSlip" endpoint="endpoint">
-    <eip:targets>
-      <eip:exchange-target service="replaceMe:echo" />
-      <eip:exchange-target service="replaceMe:echo" />
-    </eip:targets>
-  </eip:static-routing-slip>
-  
-  <eip:message-filter service="replaceMe:messageFilter" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace3" />
-    </eip:target>
-    <eip:filter>
-      <eip:xpath-predicate xpath="count(/replaceMe:world) = 1" namespaceContext="#nsContext"/>
-    </eip:filter>
-  </eip:message-filter>
-
-  <eip:namespace-context id="nsContext">
-    <eip:namespaces>
-      <eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe</eip:namespace>
-    </eip:namespaces>
-  </eip:namespace-context>
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+  <eip:static-recipient-list service="replaceMe:entryPoint" endpoint="endpoint">
+    <eip:recipients>
+      <eip:exchange-target service="replaceMe:wireTap" />
+      <eip:exchange-target service="replaceMe:aggregatorSplitter" />
+    </eip:recipients>
+  </eip:static-recipient-list>
+
+  <eip:xpath-splitter service="replaceMe:aggregatorSplitter" endpoint="endpoint" 
+                      xpath="/*/*" namespaceContext="#nsContext">
+    <eip:target>
+      <eip:exchange-target service="test:aggregator" />
+    </eip:target>
+  </eip:xpath-splitter>
+  
+  <eip:split-aggregator service="replaceMe:aggregator" endpoint="endpoint">
+    <eip:target>
+      <eip:exchange-target service="replaceMe:trace5" />
+    </eip:target>
+  </eip:split-aggregator>
+
+  <eip:wire-tap service="replaceMe:wireTap" endpoint="endpoint">
+    <eip:target>
+      <eip:exchange-target service="replaceMe:xpathSplitter" />
+    </eip:target>
+    <eip:inListener>
+      <eip:exchange-target service="replaceMe:trace1" />
+    </eip:inListener>
+  </eip:wire-tap>
+  
+  <eip:xpath-splitter service="replaceMe:xpathSplitter" endpoint="endpoint" 
+                      xpath="/*/*" namespaceContext="#nsContext">
+    <eip:target>
+      <eip:exchange-target uri="service:http://servicemix.apache.org/replaceMe/router"
/>
+    </eip:target>
+  </eip:xpath-splitter>
+  
+  <eip:content-based-router service="replaceMe:router" endpoint="endpoint">
+    <eip:rules>
+      <eip:routing-rule>
+        <eip:predicate>
+          <eip:xpath-predicate xpath="count(/replaceMe:echo) = 1" namespaceContext="#nsContext"
/>
+        </eip:predicate>
+        <eip:target>
+          <eip:exchange-target uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint"
/>
+        </eip:target>
+      </eip:routing-rule>
+      <eip:routing-rule>
+        <!-- there is no predicate, so this is the default destination -->
+        <eip:target>
+          <eip:exchange-target service="replaceMe:recipients" />
+        </eip:target>
+      </eip:routing-rule>
+    </eip:rules>
+  </eip:content-based-router>
+  
+  <eip:pipeline service="replaceMe:pipeline" endpoint="endpoint">
+    <eip:transformer>
+      <eip:exchange-target service="replaceMe:routingSlip" />
+    </eip:transformer>
+    <eip:target>
+      <eip:exchange-target service="replaceMe:trace2" />
+    </eip:target>
+  </eip:pipeline>
+  
+  <eip:static-recipient-list service="replaceMe:recipients" endpoint="endpoint">
+    <eip:recipients>
+      <eip:exchange-target service="replaceMe:messageFilter" />
+      <eip:exchange-target service="replaceMe:trace4" />
+    </eip:recipients>
+  </eip:static-recipient-list>
+  
+  <eip:static-routing-slip service="replaceMe:routingSlip" endpoint="endpoint">
+    <eip:targets>
+      <eip:exchange-target service="replaceMe:echo" />
+      <eip:exchange-target service="replaceMe:echo" />
+    </eip:targets>
+  </eip:static-routing-slip>
+  
+  <eip:message-filter service="replaceMe:messageFilter" endpoint="endpoint">
+    <eip:target>
+      <eip:exchange-target service="replaceMe:trace3" />
+    </eip:target>
+    <eip:filter>
+      <eip:xpath-predicate xpath="count(/replaceMe:world) = 1" namespaceContext="#nsContext"/>
+    </eip:filter>
+  </eip:message-filter>
+
+  <eip:namespace-context id="nsContext">
+    <eip:namespaces>
+      <eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe</eip:namespace>
+    </eip:namespaces>
+  </eip:namespace-context>
+
+  <eip:resequencer service="replaceMe:resequencer" endpoint="endpoint" capacity="100"
timeout="2000">
+    <eip:target>
+      <eip:exchange-target service="replaceMe:trace6" />
+    </eip:target>
+  </eip:resequencer>
+  
+</beans>



Mime
View raw message