Author: gnodet
Date: Wed Jan 24 12:37:18 2007
New Revision: 499560

URL: http://svn.apache.org/viewvc?view=rev&rev=499560
Log:
Add missing enclosing <sm:activationSpecs/> tag

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

Modified: 
incubator/servicemix/trunk/archetypes/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml?view=diff&rev=499560&r1=499559&r2=499560
==============================================================================
--- 
incubator/servicemix/trunk/archetypes/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
 (original)
+++ 
incubator/servicemix/trunk/archetypes/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
 Wed Jan 24 12:37:18 2007
@@ -25,18 +25,20 @@
   </classpath>
 
   <sm:serviceunit id="jbi">
+    <sm:activationSpecs>
+
+      <!-- Put lw components here -->
+      <sm:activationSpec service="replaceMe:myService">
+        <sm:component>
+          <bean class="org.apache.servicemix.components.cache.CacheComponent">
+            <property name="cache">
+              <bean class="org.apache.servicemix.components.cache.LRUCache" />
+            </property>
+          </bean>
+        </sm:component>
+      </sm:activationSpec>
   
-    <!-- Put lw components here -->
-    <sm:activationSpec>
-      <sm:component>
-        <bean class="org.apache.servicemix.components.cache.CacheComponent">
-          <property name="cache">
-            <bean class="org.apache.servicemix.components.cache.LRUCache" />
-          </property>
-        </bean>
-      </sm:component>
-    </sm:activationSpec>
-  
+    </sm:activationSpecs>
   </sm:serviceunit>
 
 </beans>


Reply via email to