You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/02/22 00:40:29 UTC

svn commit: r379627 [3/34] - in /incubator/servicemix/trunk: ./ etc/ sandbox/servicemix-wsn-1.2/src/sa/META-INF/ sandbox/servicemix-wsn-1.2/src/su/META-INF/ servicemix-assembly/ servicemix-assembly/src/main/assembly/ servicemix-assembly/src/main/releas...

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/README.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/README.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/README.txt (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/README.txt Tue Feb 21 15:40:05 2006
@@ -1,250 +1,250 @@
-    Servicemix Ant Task Help.
-    ==========================================================
-    Usage : ant -f <fullpath>/jbi_admin.xml [options] [target]
-    options: -D<property>;=<value>; use value for given property
-    
-    Targets Available:
-    ----------------------------------------------------------
-    target : install-component 
-       - Use to install service engine or binding component.
-
-    options :
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.install.file   : file path for installing service engine or binding component.
-
-    Example :
-     ant -f servicemix-admin.xml -Dsm.install.file=testarchive.jar install-component-task
-     
-    ----------------------------------------------------------
-    target : uninstall-component 
-        - use to uninstall service engine or binding component.
-    
-    options :        
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.component.name : name of service engine or binding component to uninstall.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=testarchive uninstall-component
-
-    ----------------------------------------------------------
-    target : install-shared-library 
-        - installs shared library to Servicemix.
-    
-    options :        
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.install.file   : zip file path for installing shared library installation file.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.install.file=/dir/sharedlib.zip install-shared-library  
-                
-    ----------------------------------------------------------
-    target : uninstall-shared-library 
-        - uninstalls shared library to Servicemix.
-    
-    options :        
-        sm.username            : Servicemix user name.
-        sm.password            : Servicemix password.
-        sm.host                : host name where Servicemix is running.
-        sm.port                : port where Servicemix is listening.
-        sm.shared.library.name : uninstall shared library, given name.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.shared.library.name="sharedlibname" uninstall-shared-library  
-                
-    ----------------------------------------------------------
-    target : start-component 
-        - starts service engine or binding component in Servcemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to start.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname start-component  
-
-    ----------------------------------------------------------
-    target : stop-component 
-        - stop service engine or binding component in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to stop.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname stop-component  
-
-    ----------------------------------------------------------
-    target : shutdown-component 
-        - shutdown service engine or binding component in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to shutdown.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname shutdown-component  
-
-    ----------------------------------------------------------
-    target : deploy-service-assembly 
-        - deploys a service assembly into Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.deploy.file     : fully qualified service assembly file path.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.deploy.file deploy-service-assembly  
-
-    ----------------------------------------------------------
-    target : undeploy-service-assembly 
-        - undeploys a service assembly from Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name  : service assembly name previously deployed. 
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name undeploy-service-assemply  
-
-    ----------------------------------------------------------
-    target : start-service-assembly 
-        - starts a service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to start.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name start-service-assemply  
-
-    ----------------------------------------------------------
-    target : stop-service-assembly 
-        - stops service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to stop.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name stop-service-assemply  
-
-    ----------------------------------------------------------
-    target : shutdown-service-assembly 
-        - shutdowns service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to shutdown.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name shutdown-service-assemply  
-
-    ----------------------------------------------------------
-    target : list-service-engines 
-        - Prints the information about all the service engine in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state
-        sm.service.assembly.name : service assembly name to list.
-        sm.shared.library.name : shared library name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-service-engines  
-
-    ----------------------------------------------------------
-    target : list-binding-components 
-        - Prints the information about all binding components in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state to list
-        sm.shared.library.name : shared library name to list.
-        sm.service.assembly.name : service assembly name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-binding-components  
-
-    ----------------------------------------------------------
-    target : list-shared-libraries 
-        - Prints the information all about the shared library in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name to list.
-        sm.shared.library.name : shared library name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-binding-components  
-
-    ----------------------------------------------------------
-    target : deployed-assemblies 
-        - list deployed Service Assemblies in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state to list
-        sm.component.name  : component name to list.
-        sm.service.assembly.name : service assembly name to list.
-        
-    Example :
-    ant -f servicemix-admin.xml deployed-assemblies  
-
-    ----------------------------------------------------------
-    target : deployed-serviceunits 
-        - List deployed service units for a Component.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name. 
-    
-    Example :
-    ant -f servicemix-admin.xml list-binding-components  
+    Servicemix Ant Task Help.
+    ==========================================================
+    Usage : ant -f <fullpath>/jbi_admin.xml [options] [target]
+    options: -D<property>;=<value>; use value for given property
+    
+    Targets Available:
+    ----------------------------------------------------------
+    target : install-component 
+       - Use to install service engine or binding component.
+
+    options :
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.install.file   : file path for installing service engine or binding component.
+
+    Example :
+     ant -f servicemix-admin.xml -Dsm.install.file=testarchive.jar install-component-task
+     
+    ----------------------------------------------------------
+    target : uninstall-component 
+        - use to uninstall service engine or binding component.
+    
+    options :        
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.component.name : name of service engine or binding component to uninstall.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=testarchive uninstall-component
+
+    ----------------------------------------------------------
+    target : install-shared-library 
+        - installs shared library to Servicemix.
+    
+    options :        
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.install.file   : zip file path for installing shared library installation file.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.install.file=/dir/sharedlib.zip install-shared-library  
+                
+    ----------------------------------------------------------
+    target : uninstall-shared-library 
+        - uninstalls shared library to Servicemix.
+    
+    options :        
+        sm.username            : Servicemix user name.
+        sm.password            : Servicemix password.
+        sm.host                : host name where Servicemix is running.
+        sm.port                : port where Servicemix is listening.
+        sm.shared.library.name : uninstall shared library, given name.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.shared.library.name="sharedlibname" uninstall-shared-library  
+                
+    ----------------------------------------------------------
+    target : start-component 
+        - starts service engine or binding component in Servcemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to start.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname start-component  
+
+    ----------------------------------------------------------
+    target : stop-component 
+        - stop service engine or binding component in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to stop.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname stop-component  
+
+    ----------------------------------------------------------
+    target : shutdown-component 
+        - shutdown service engine or binding component in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to shutdown.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname shutdown-component  
+
+    ----------------------------------------------------------
+    target : deploy-service-assembly 
+        - deploys a service assembly into Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.deploy.file     : fully qualified service assembly file path.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.deploy.file deploy-service-assembly  
+
+    ----------------------------------------------------------
+    target : undeploy-service-assembly 
+        - undeploys a service assembly from Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name  : service assembly name previously deployed. 
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name undeploy-service-assemply  
+
+    ----------------------------------------------------------
+    target : start-service-assembly 
+        - starts a service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to start.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name start-service-assemply  
+
+    ----------------------------------------------------------
+    target : stop-service-assembly 
+        - stops service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to stop.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name stop-service-assemply  
+
+    ----------------------------------------------------------
+    target : shutdown-service-assembly 
+        - shutdowns service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to shutdown.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name shutdown-service-assemply  
+
+    ----------------------------------------------------------
+    target : list-service-engines 
+        - Prints the information about all the service engine in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state
+        sm.service.assembly.name : service assembly name to list.
+        sm.shared.library.name : shared library name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-service-engines  
+
+    ----------------------------------------------------------
+    target : list-binding-components 
+        - Prints the information about all binding components in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state to list
+        sm.shared.library.name : shared library name to list.
+        sm.service.assembly.name : service assembly name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-binding-components  
+
+    ----------------------------------------------------------
+    target : list-shared-libraries 
+        - Prints the information all about the shared library in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name to list.
+        sm.shared.library.name : shared library name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-binding-components  
+
+    ----------------------------------------------------------
+    target : deployed-assemblies 
+        - list deployed Service Assemblies in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state to list
+        sm.component.name  : component name to list.
+        sm.service.assembly.name : service assembly name to list.
+        
+    Example :
+    ant -f servicemix-admin.xml deployed-assemblies  
+
+    ----------------------------------------------------------
+    target : deployed-serviceunits 
+        - List deployed service units for a Component.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name. 
+    
+    Example :
+    ant -f servicemix-admin.xml list-binding-components  

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix-ant-task.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix-ant-task.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix-ant-task.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix-ant-task.xml Tue Feb 21 15:40:05 2006
@@ -1,610 +1,610 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project basedir="." default="help" name="servicemix-ant-task">
-<description>
-This ant script contains the Servicemix ant tasks and the targets and properties.
-</description>
-
-    <!-- default value for the location of the Servicemix task definitions file -->
-    <property name="servicemix.taskdefs" location="servicemix_ant_taskdef.properties"/>
-    
-        
-    <!-- Servicemix ant task definitions  -->
-    <taskdef file="${servicemix.taskdefs}">
-        <classpath id="servicemix.classpath">            
-            <fileset dir="../../lib/optional">
-                <include name="**/*.jar"/>
-            </fileset>            
-            <fileset dir="../../lib">
-                <include name="**/*.jar"/>
-            </fileset>
-            <fileset dir="../..">
-                <include name="**/*.jar"/>
-            </fileset>
-        </classpath>
-    </taskdef>
-    
-    
-    <!-- properties used as attribute values for Servicemix Ant Task. 
-         command line args can override the values. -->
-        
-    <!-- default username. -->
-    <property name="sm.username" value="" />
-    
-    <!-- default password -->
-    <property name="sm.password" value="" />
-    
-    <!-- default host.-->
-    <property name="sm.host" value="localhost" />
-    
-    <!-- default port. -->
-    <property name="sm.port" value="1099" />
-    
-    
-    <!-- Command Line Argumants can override the following values. -->
-     
-    <!-- Property files -->
-    <property name="sm.state" value="" />
-    <property name="sm.install.file" value="" />
-    <property name="sm.component.name" value="" />
-    <property name="sm.shared.library.name" value="" />
-    <property name="sm.deploy.file" value="" />
-    <property name="sm.service.assembly.name" value="" />
-    
-          
-     <!-- Ant Task Targets -->
-     
-     <!-- install-component task -->
-     <target name="install-component" description="Installs service engine or binding component with installation parameters.">
-         <echo message=" Installing a service engine or binding component."/>
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    file=${sm.install.file}" />
-         
-         <install-component-task 
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             file="${sm.install.file}"/>  
-      </target>
-     
-     <!-- uninstall-component task -->
-     <target name="uninstall-component" description="Uninstalls service engine or binding component.">
-         <echo message="    uninstall-component" />
-         <echo message="    Uninstalling a Service Engine or Binding Component." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.component.name}" />
-         <uninstall-component-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.component.name}"
-         />
-         
-     </target>
-     
-     <!-- install-shared-library -->
-     <target name="install-shared-library" description="Installs shared library.">
-        <echo message=" install-shared-library" />
-        <echo message="    Installs a shared library in Servicemix." />
-        <echo message="    host=${sm.host}" />
-        <echo message="    port=${sm.port}" />
-        <echo message="    file=${sm.install.file}" /> 
-        
-        <install-shared-library-task
-            username="${sm.username}" 
-            password="${sm.password}"
-            host="${sm.host}"
-            file="${sm.install.file}"
-        />
-     </target>
-     
-     <!-- uninstall-shared-library -->
-     <target name="uninstall-shared-library" description="Uninstalls shared library.">
-         <echo message=" uninstall-shared-library" />
-         <echo message=" Uninstall a previously installed shared library in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.shared.library.name}" />
-         
-         <uninstall-shared-library-task
-            username="${sm.username}" 
-            password="${sm.password}"
-            host="${sm.host}"
-            name="${sm.shared.library.name}"    
-        />
-         
-     </target>
-
-     <!-- start-component -->
-     <target name="start-component" description="starts a particular Servicemix component, service-engine or binding component.">
-         <echo message=" start-component" />
-         <echo message=" starts a particular component (service engine or binding component) in Servicemix" />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.component.name}" />
-         
-         <start-component-task
-            username="${sm.username}" 
-            password="${sm.password}"
-            host="${sm.host}"
-            name="${sm.component.name}"        
-        />
-     
-     </target>
-     
-     <!-- stop-component -->
-     <target name="stop-component" description="stops a particular Servicemix component, service engine or binding component.">
-         <echo message=" stop-component" />
-         <echo message=" stops a particular component (service engine or binding component) in Servicemix" />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.component.name}" />
-         
-         <stop-component-task
-            username="${sm.username}" 
-            password="${sm.password}"
-            host="${sm.host}"
-            name="${sm.component.name}"            
-         />
-          
-     </target>
-     
-     <!-- shutdown-component -->
-     <target name="shutdown-component" description="shut downs a particular Servicemix component.">
-         <echo message=" shut-down-component" />
-         <echo message=" shuts down a particular component (service engine or binding component) in Servicemix" />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.component.name}" />
-         
-         <shutdown-component-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.component.name}"                
-         />
-     </target>
-     
-     <!-- deploy-service-assembly -->
-     <target name="deploy-service-assembly" description="deploys service assembly in Servicemix.">
-         <echo message=" deploy-assembly" />
-         <echo message=" deploys a service assembly in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    file=${sm.deploy.file}" />
-         
-         <install-assembly-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             file="${sm.deploy.file}"                    
-         />
-     </target>
-     
-     <!-- undeploy-service-assembly -->
-     <target name="undeploy-service-assembly" description="undeploys a previously deployed service assembly in Servicemix.">
-         <echo message=" undeploy-assembly" />
-         <echo message=" undeploys a previously deployed service assembly in Sericemix."/>
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.service.assembly.name}" />
-         
-         <uninstall-assembly-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.service.assembly.name}"                        
-         />
-     
-     </target>
-     
-     <!-- start-service-assembly -->
-     <target name="start-service-assembly" description="starts a particular service assembly in Servicemix.">
-         <echo message=" start-assembly" />
-         <echo message=" starts a particular service assembly in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.service.assembly.name}" />
-         
-         <start-assembly-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.service.assembly.name}"                            
-         />
-         
-     </target>
-     
-     <!-- stop-service-assembly -->
-     <target name="stop-service-assembly" description="stops a particular service assembly in Servicemix.">
-         <echo message=" shutdown-assembly" />
-         <echo message=" stops a particular service assembly in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.service.assembly.name}" /> 
-
-         <stop-assembly-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.service.assembly.name}"                                
-         />     
-     </target>
-     
-     <!-- shutdown-service-assembly -->
-     <target name="shutdown-service-assembly" description="shuts down a particular service assembly in Servicemix.">
-         <echo message=" shutdown-assembly" />
-         <echo message=" shuts down a particular service assembly in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    name=${sm.service.assembly.name}" /> 
-
-         <shutdown-assembly-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             name="${sm.service.assembly.name}"                                    
-         />
-     
-     </target>
-     
-     <!-- list-service-engines -->
-     <target name="list-service-engines" description="prints information about all of the Service Engines in Servicemix.">
-         <echo message=" list-service-engines" />
-         <echo message=" Prints information about all of the Service Engines in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    state=${sm.state}" />
-         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
-         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
-
-         <list-engines-task
-             username="${sm.username}"
-             password="${sm.password}"
-             host="${sm.host}"
-             state="${sm.state}"
-             serviceAssemblyName="${sm.service.assembly.name}"
-             sharedLibraryName="${sm.shared.library.name}"
-         />
-     
-     </target>
-     
-     <!-- list-binding-components -->
-     <target name="list-binding-components" description="prints information about all of the Binding Components in Servicemix.">
-         <echo message=" list-binding-components" />
-         <echo message=" Prints information about the binding components installed in servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    state=${sm.state}" />
-         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
-         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
-
-         <list-component-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             state="${sm.state}"
-             sharedLibraryName="${sm.shared.library.name}"
-             serviceAssemblyName="${sm.service.assembly.name}"
-         />
-     
-     </target>
-     
-     <!-- list-shared-libraries -->
-     <target name="list-shared-libraries" description="prints information about all of the Shared Libraries installed in Servicemix.">
-         <echo message=" list-shared-libraries" />
-         <echo message=" Prints information about all shared libraries installed in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    componentName=${sm.component.name}" />
-         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
-
-         <list-libraries-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             componentName="${sm.component.name}"
-             sharedLibraryName="${sm.shared.library.name}"
-      />
-      </target>
-     
-     <!-- list-assemblies -->
-     <target name="deployed-assemblies" description="list deployed Service Assemblies in Servicemix.">
-         <echo message=" deployed-assemblies" />
-         <echo message=" list deployed Service Assemblies in Servicemix." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    state=${sm.state}" />
-         <echo message="    componentName=${sm.component.name}" />
-         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
-
-         <deployed-assemblies-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             state="${sm.state}"
-             componentName="${sm.component.name}"
-             serviceAssemblyName="${sm.service.assembly.name}"
-         />
-     
-     </target>
-
-     <!-- deployed-serviceunits -->
-     <target name="deployed-serviceunits" description="List deployed service units for a Component.">
-         <echo message=" deployed-serviceunits" />
-         <echo message=" List deployed service units for a Component." />
-         <echo message="    host=${sm.host}" />
-         <echo message="    port=${sm.port}" />
-         <echo message="    componentname=${sm.component.name}" />         
-
-         <deployed-serviceunits-task
-             username="${sm.username}" 
-             password="${sm.password}"
-             host="${sm.host}"
-             componentName="${sm.component.name}"
-         />
-     
-     </target>
-     
-     
-     <!-- Help/Usage target -->
-    <target name="help" description="Description of commands and their parameters.">
-    <echo>         
-    Servicemix Ant Task Help.
-    ==========================================================
-    Usage : ant -f &lt;fullpath&gt;/jbi_admin.xml [options] [target]
-    options: -D&lt;property&gt;=&lt;value&gt; use value for given property
-    
-    Targets Available:
-    ----------------------------------------------------------
-    target : install-component 
-       - Use to install service engine or binding component.
-
-    options :
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.install.file   : file path for installing service engine or binding component.
-
-    Example :
-     ant -f servicemix-admin.xml -Dsm.install.file=testarchive.jar install-component-task
-     
-    ----------------------------------------------------------
-    target : uninstall-component 
-        - use to uninstall service engine or binding component.
-    
-    options :        
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.component.name : name of service engine or binding component to uninstall.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=testarchive uninstall-component
-
-    ----------------------------------------------------------
-    target : install-shared-library 
-        - installs shared library to Servicemix.
-    
-    options :        
-        sm.username       : Servicemix user name.
-        sm.password       : Servicemix password.
-        sm.host           : host name where Servicemix is running.
-        sm.port           : port where Servicemix is listening.
-        sm.install.file   : zip file path for installing shared library installation file.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.install.file=/dir/sharedlib.zip install-shared-library  
-                
-    ----------------------------------------------------------
-    target : uninstall-shared-library 
-        - uninstalls shared library to Servicemix.
-    
-    options :        
-        sm.username            : Servicemix user name.
-        sm.password            : Servicemix password.
-        sm.host                : host name where Servicemix is running.
-        sm.port                : port where Servicemix is listening.
-        sm.shared.library.name : uninstall shared library, given name.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.shared.library.name=sharedlibname uninstall-shared-library  
-                
-    ----------------------------------------------------------
-    target : start-component 
-        - starts service engine or binding component in Servcemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to start.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname start-component  
-
-    ----------------------------------------------------------
-    target : stop-component 
-        - stop service engine or binding component in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to stop.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname stop-component  
-
-    ----------------------------------------------------------
-    target : shutdown-component 
-        - shutdown service engine or binding component in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name, service engine or binding component to shutdown.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.component.name=componentname shutdown-component  
-
-    ----------------------------------------------------------
-    target : deploy-service-assembly 
-        - deploys a service assembly into Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.deploy.file     : fully qualified service assembly file path.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.deploy.file deploy-service-assembly  
-
-    ----------------------------------------------------------
-    target : undeploy-service-assembly 
-        - undeploys a service assembly from Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name  : service assembly name previously deployed. 
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name undeploy-service-assemply  
-
-    ----------------------------------------------------------
-    target : start-service-assembly 
-        - starts a service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to start.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name start-service-assemply  
-
-    ----------------------------------------------------------
-    target : stop-service-assembly 
-        - stops service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to stop.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name stop-service-assemply  
-
-    ----------------------------------------------------------
-    target : shutdown-service-assembly 
-        - shutdowns service assembly in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.service.assembly.name : service assembly name to shutdown.
-    
-    Example :
-    ant -f servicemix-admin.xml -Dsm.service.assembly.name shutdown-service-assemply  
-
-    ----------------------------------------------------------
-    target : list-service-engines 
-        - Prints the information about all the service engine in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state
-        sm.service.assembly.name : service assembly name to list.
-        sm.shared.library.name : shared library name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-service-engines  
-
-    ----------------------------------------------------------
-    target : list-binding-components 
-        - Prints the information about all binding components in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state to list
-        sm.shared.library.name : shared library name to list.
-        sm.service.assembly.name : service assembly name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-binding-components  
-
-    ----------------------------------------------------------
-    target : list-shared-libraries 
-        - Prints the information all about the shared library in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name to list.
-        sm.shared.library.name : shared library name to list.
-
-    Example :
-    ant -f servicemix-admin.xml list-shared-libraries  
-
-    ----------------------------------------------------------
-    target : deployed-assemblies 
-        - list deployed Service Assemblies in Servicemix.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.state           : component state to list
-        sm.component.name  : component name to list.
-        sm.service.assembly.name : service assembly name to list.
-        
-    Example :
-    ant -f servicemix-admin.xml deployed-assemblies  
-
-    ----------------------------------------------------------
-    target : deployed-serviceunits 
-        - List deployed service units for a Component.
-    
-    options :        
-        sm.username        : Servicemix user name.
-        sm.password        : Servicemix password.
-        sm.host            : host name where Servicemix is running.
-        sm.port            : port where Servicemix is listening.
-        sm.component.name  : component name. 
-    
-    Example :
-    ant -f servicemix-admin.xml deployed-serviceunits  
-
-    </echo>
-    </target>
-
-
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project basedir="." default="help" name="servicemix-ant-task">
+<description>
+This ant script contains the Servicemix ant tasks and the targets and properties.
+</description>
+
+    <!-- default value for the location of the Servicemix task definitions file -->
+    <property name="servicemix.taskdefs" location="servicemix_ant_taskdef.properties"/>
+    
+        
+    <!-- Servicemix ant task definitions  -->
+    <taskdef file="${servicemix.taskdefs}">
+        <classpath id="servicemix.classpath">            
+            <fileset dir="../../lib/optional">
+                <include name="**/*.jar"/>
+            </fileset>            
+            <fileset dir="../../lib">
+                <include name="**/*.jar"/>
+            </fileset>
+            <fileset dir="../..">
+                <include name="**/*.jar"/>
+            </fileset>
+        </classpath>
+    </taskdef>
+    
+    
+    <!-- properties used as attribute values for Servicemix Ant Task. 
+         command line args can override the values. -->
+        
+    <!-- default username. -->
+    <property name="sm.username" value="" />
+    
+    <!-- default password -->
+    <property name="sm.password" value="" />
+    
+    <!-- default host.-->
+    <property name="sm.host" value="localhost" />
+    
+    <!-- default port. -->
+    <property name="sm.port" value="1099" />
+    
+    
+    <!-- Command Line Argumants can override the following values. -->
+     
+    <!-- Property files -->
+    <property name="sm.state" value="" />
+    <property name="sm.install.file" value="" />
+    <property name="sm.component.name" value="" />
+    <property name="sm.shared.library.name" value="" />
+    <property name="sm.deploy.file" value="" />
+    <property name="sm.service.assembly.name" value="" />
+    
+          
+     <!-- Ant Task Targets -->
+     
+     <!-- install-component task -->
+     <target name="install-component" description="Installs service engine or binding component with installation parameters.">
+         <echo message=" Installing a service engine or binding component."/>
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    file=${sm.install.file}" />
+         
+         <install-component-task 
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             file="${sm.install.file}"/>  
+      </target>
+     
+     <!-- uninstall-component task -->
+     <target name="uninstall-component" description="Uninstalls service engine or binding component.">
+         <echo message="    uninstall-component" />
+         <echo message="    Uninstalling a Service Engine or Binding Component." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.component.name}" />
+         <uninstall-component-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.component.name}"
+         />
+         
+     </target>
+     
+     <!-- install-shared-library -->
+     <target name="install-shared-library" description="Installs shared library.">
+        <echo message=" install-shared-library" />
+        <echo message="    Installs a shared library in Servicemix." />
+        <echo message="    host=${sm.host}" />
+        <echo message="    port=${sm.port}" />
+        <echo message="    file=${sm.install.file}" /> 
+        
+        <install-shared-library-task
+            username="${sm.username}" 
+            password="${sm.password}"
+            host="${sm.host}"
+            file="${sm.install.file}"
+        />
+     </target>
+     
+     <!-- uninstall-shared-library -->
+     <target name="uninstall-shared-library" description="Uninstalls shared library.">
+         <echo message=" uninstall-shared-library" />
+         <echo message=" Uninstall a previously installed shared library in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.shared.library.name}" />
+         
+         <uninstall-shared-library-task
+            username="${sm.username}" 
+            password="${sm.password}"
+            host="${sm.host}"
+            name="${sm.shared.library.name}"    
+        />
+         
+     </target>
+
+     <!-- start-component -->
+     <target name="start-component" description="starts a particular Servicemix component, service-engine or binding component.">
+         <echo message=" start-component" />
+         <echo message=" starts a particular component (service engine or binding component) in Servicemix" />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.component.name}" />
+         
+         <start-component-task
+            username="${sm.username}" 
+            password="${sm.password}"
+            host="${sm.host}"
+            name="${sm.component.name}"        
+        />
+     
+     </target>
+     
+     <!-- stop-component -->
+     <target name="stop-component" description="stops a particular Servicemix component, service engine or binding component.">
+         <echo message=" stop-component" />
+         <echo message=" stops a particular component (service engine or binding component) in Servicemix" />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.component.name}" />
+         
+         <stop-component-task
+            username="${sm.username}" 
+            password="${sm.password}"
+            host="${sm.host}"
+            name="${sm.component.name}"            
+         />
+          
+     </target>
+     
+     <!-- shutdown-component -->
+     <target name="shutdown-component" description="shut downs a particular Servicemix component.">
+         <echo message=" shut-down-component" />
+         <echo message=" shuts down a particular component (service engine or binding component) in Servicemix" />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.component.name}" />
+         
+         <shutdown-component-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.component.name}"                
+         />
+     </target>
+     
+     <!-- deploy-service-assembly -->
+     <target name="deploy-service-assembly" description="deploys service assembly in Servicemix.">
+         <echo message=" deploy-assembly" />
+         <echo message=" deploys a service assembly in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    file=${sm.deploy.file}" />
+         
+         <install-assembly-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             file="${sm.deploy.file}"                    
+         />
+     </target>
+     
+     <!-- undeploy-service-assembly -->
+     <target name="undeploy-service-assembly" description="undeploys a previously deployed service assembly in Servicemix.">
+         <echo message=" undeploy-assembly" />
+         <echo message=" undeploys a previously deployed service assembly in Sericemix."/>
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.service.assembly.name}" />
+         
+         <uninstall-assembly-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.service.assembly.name}"                        
+         />
+     
+     </target>
+     
+     <!-- start-service-assembly -->
+     <target name="start-service-assembly" description="starts a particular service assembly in Servicemix.">
+         <echo message=" start-assembly" />
+         <echo message=" starts a particular service assembly in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.service.assembly.name}" />
+         
+         <start-assembly-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.service.assembly.name}"                            
+         />
+         
+     </target>
+     
+     <!-- stop-service-assembly -->
+     <target name="stop-service-assembly" description="stops a particular service assembly in Servicemix.">
+         <echo message=" shutdown-assembly" />
+         <echo message=" stops a particular service assembly in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.service.assembly.name}" /> 
+
+         <stop-assembly-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.service.assembly.name}"                                
+         />     
+     </target>
+     
+     <!-- shutdown-service-assembly -->
+     <target name="shutdown-service-assembly" description="shuts down a particular service assembly in Servicemix.">
+         <echo message=" shutdown-assembly" />
+         <echo message=" shuts down a particular service assembly in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    name=${sm.service.assembly.name}" /> 
+
+         <shutdown-assembly-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             name="${sm.service.assembly.name}"                                    
+         />
+     
+     </target>
+     
+     <!-- list-service-engines -->
+     <target name="list-service-engines" description="prints information about all of the Service Engines in Servicemix.">
+         <echo message=" list-service-engines" />
+         <echo message=" Prints information about all of the Service Engines in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    state=${sm.state}" />
+         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
+         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
+
+         <list-engines-task
+             username="${sm.username}"
+             password="${sm.password}"
+             host="${sm.host}"
+             state="${sm.state}"
+             serviceAssemblyName="${sm.service.assembly.name}"
+             sharedLibraryName="${sm.shared.library.name}"
+         />
+     
+     </target>
+     
+     <!-- list-binding-components -->
+     <target name="list-binding-components" description="prints information about all of the Binding Components in Servicemix.">
+         <echo message=" list-binding-components" />
+         <echo message=" Prints information about the binding components installed in servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    state=${sm.state}" />
+         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
+         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
+
+         <list-component-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             state="${sm.state}"
+             sharedLibraryName="${sm.shared.library.name}"
+             serviceAssemblyName="${sm.service.assembly.name}"
+         />
+     
+     </target>
+     
+     <!-- list-shared-libraries -->
+     <target name="list-shared-libraries" description="prints information about all of the Shared Libraries installed in Servicemix.">
+         <echo message=" list-shared-libraries" />
+         <echo message=" Prints information about all shared libraries installed in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    componentName=${sm.component.name}" />
+         <echo message="    sharedLibraryName=${sm.shared.library.name}" />
+
+         <list-libraries-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             componentName="${sm.component.name}"
+             sharedLibraryName="${sm.shared.library.name}"
+      />
+      </target>
+     
+     <!-- list-assemblies -->
+     <target name="deployed-assemblies" description="list deployed Service Assemblies in Servicemix.">
+         <echo message=" deployed-assemblies" />
+         <echo message=" list deployed Service Assemblies in Servicemix." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    state=${sm.state}" />
+         <echo message="    componentName=${sm.component.name}" />
+         <echo message="    serviceAssemblyName=${sm.service.assembly.name}" />
+
+         <deployed-assemblies-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             state="${sm.state}"
+             componentName="${sm.component.name}"
+             serviceAssemblyName="${sm.service.assembly.name}"
+         />
+     
+     </target>
+
+     <!-- deployed-serviceunits -->
+     <target name="deployed-serviceunits" description="List deployed service units for a Component.">
+         <echo message=" deployed-serviceunits" />
+         <echo message=" List deployed service units for a Component." />
+         <echo message="    host=${sm.host}" />
+         <echo message="    port=${sm.port}" />
+         <echo message="    componentname=${sm.component.name}" />         
+
+         <deployed-serviceunits-task
+             username="${sm.username}" 
+             password="${sm.password}"
+             host="${sm.host}"
+             componentName="${sm.component.name}"
+         />
+     
+     </target>
+     
+     
+     <!-- Help/Usage target -->
+    <target name="help" description="Description of commands and their parameters.">
+    <echo>         
+    Servicemix Ant Task Help.
+    ==========================================================
+    Usage : ant -f &lt;fullpath&gt;/jbi_admin.xml [options] [target]
+    options: -D&lt;property&gt;=&lt;value&gt; use value for given property
+    
+    Targets Available:
+    ----------------------------------------------------------
+    target : install-component 
+       - Use to install service engine or binding component.
+
+    options :
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.install.file   : file path for installing service engine or binding component.
+
+    Example :
+     ant -f servicemix-admin.xml -Dsm.install.file=testarchive.jar install-component-task
+     
+    ----------------------------------------------------------
+    target : uninstall-component 
+        - use to uninstall service engine or binding component.
+    
+    options :        
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.component.name : name of service engine or binding component to uninstall.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=testarchive uninstall-component
+
+    ----------------------------------------------------------
+    target : install-shared-library 
+        - installs shared library to Servicemix.
+    
+    options :        
+        sm.username       : Servicemix user name.
+        sm.password       : Servicemix password.
+        sm.host           : host name where Servicemix is running.
+        sm.port           : port where Servicemix is listening.
+        sm.install.file   : zip file path for installing shared library installation file.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.install.file=/dir/sharedlib.zip install-shared-library  
+                
+    ----------------------------------------------------------
+    target : uninstall-shared-library 
+        - uninstalls shared library to Servicemix.
+    
+    options :        
+        sm.username            : Servicemix user name.
+        sm.password            : Servicemix password.
+        sm.host                : host name where Servicemix is running.
+        sm.port                : port where Servicemix is listening.
+        sm.shared.library.name : uninstall shared library, given name.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.shared.library.name=sharedlibname uninstall-shared-library  
+                
+    ----------------------------------------------------------
+    target : start-component 
+        - starts service engine or binding component in Servcemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to start.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname start-component  
+
+    ----------------------------------------------------------
+    target : stop-component 
+        - stop service engine or binding component in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to stop.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname stop-component  
+
+    ----------------------------------------------------------
+    target : shutdown-component 
+        - shutdown service engine or binding component in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name, service engine or binding component to shutdown.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.component.name=componentname shutdown-component  
+
+    ----------------------------------------------------------
+    target : deploy-service-assembly 
+        - deploys a service assembly into Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.deploy.file     : fully qualified service assembly file path.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.deploy.file deploy-service-assembly  
+
+    ----------------------------------------------------------
+    target : undeploy-service-assembly 
+        - undeploys a service assembly from Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name  : service assembly name previously deployed. 
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name undeploy-service-assemply  
+
+    ----------------------------------------------------------
+    target : start-service-assembly 
+        - starts a service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to start.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name start-service-assemply  
+
+    ----------------------------------------------------------
+    target : stop-service-assembly 
+        - stops service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to stop.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name stop-service-assemply  
+
+    ----------------------------------------------------------
+    target : shutdown-service-assembly 
+        - shutdowns service assembly in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.service.assembly.name : service assembly name to shutdown.
+    
+    Example :
+    ant -f servicemix-admin.xml -Dsm.service.assembly.name shutdown-service-assemply  
+
+    ----------------------------------------------------------
+    target : list-service-engines 
+        - Prints the information about all the service engine in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state
+        sm.service.assembly.name : service assembly name to list.
+        sm.shared.library.name : shared library name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-service-engines  
+
+    ----------------------------------------------------------
+    target : list-binding-components 
+        - Prints the information about all binding components in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state to list
+        sm.shared.library.name : shared library name to list.
+        sm.service.assembly.name : service assembly name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-binding-components  
+
+    ----------------------------------------------------------
+    target : list-shared-libraries 
+        - Prints the information all about the shared library in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name to list.
+        sm.shared.library.name : shared library name to list.
+
+    Example :
+    ant -f servicemix-admin.xml list-shared-libraries  
+
+    ----------------------------------------------------------
+    target : deployed-assemblies 
+        - list deployed Service Assemblies in Servicemix.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.state           : component state to list
+        sm.component.name  : component name to list.
+        sm.service.assembly.name : service assembly name to list.
+        
+    Example :
+    ant -f servicemix-admin.xml deployed-assemblies  
+
+    ----------------------------------------------------------
+    target : deployed-serviceunits 
+        - List deployed service units for a Component.
+    
+    options :        
+        sm.username        : Servicemix user name.
+        sm.password        : Servicemix password.
+        sm.host            : host name where Servicemix is running.
+        sm.port            : port where Servicemix is listening.
+        sm.component.name  : component name. 
+    
+    Example :
+    ant -f servicemix-admin.xml deployed-serviceunits  
+
+    </echo>
+    </target>
+
+
 </project>

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix-ant-task.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix_ant_taskdef.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix_ant_taskdef.properties?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix_ant_taskdef.properties (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix_ant_taskdef.properties Tue Feb 21 15:40:05 2006
@@ -1,18 +1,18 @@
-# Servicemix Jbi Ant definitions 
-install-component-task=org.apache.servicemix.jbi.management.task.InstallComponentTask
-uninstall-component-task=org.apache.servicemix.jbi.management.task.UninstallComponentTask
-install-shared-library-task=org.apache.servicemix.jbi.management.task.InstallSharedLibraryTask
-uninstall-shared-library-task=org.apache.servicemix.jbi.management.task.UninstallSharedLibraryTask
-start-component-task=org.apache.servicemix.jbi.management.task.StartComponentTask
-stop-component-task=org.apache.servicemix.jbi.management.task.StopComponentTask
-shutdown-component-task=org.apache.servicemix.jbi.management.task.ShutDownComponentTask
-install-assembly-task=org.apache.servicemix.jbi.management.task.InstallAssemblyTask
-uninstall-assembly-task=org.apache.servicemix.jbi.management.task.UninstallAssemblyTask
-start-assembly-task=org.apache.servicemix.jbi.management.task.StartAssemblyTask
-stop-assembly-task=org.apache.servicemix.jbi.management.task.StopAssemblyTask
-shutdown-assembly-task=org.apache.servicemix.jbi.management.task.ShutDownAssemblyTask
-list-engines-task=org.apache.servicemix.jbi.management.task.ListEnginesTask
-list-component-task=org.apache.servicemix.jbi.management.task.ListComponentTask
-list-libraries-task=org.apache.servicemix.jbi.management.task.ListLibrariesTask
-deployed-assemblies-task=org.apache.servicemix.jbi.management.task.DeployedAssembliesTask
-deployed-serviceunits-task=org.apache.servicemix.jbi.management.task.DeployedServiceUnitsTask
+# Servicemix Jbi Ant definitions 
+install-component-task=org.apache.servicemix.jbi.management.task.InstallComponentTask
+uninstall-component-task=org.apache.servicemix.jbi.management.task.UninstallComponentTask
+install-shared-library-task=org.apache.servicemix.jbi.management.task.InstallSharedLibraryTask
+uninstall-shared-library-task=org.apache.servicemix.jbi.management.task.UninstallSharedLibraryTask
+start-component-task=org.apache.servicemix.jbi.management.task.StartComponentTask
+stop-component-task=org.apache.servicemix.jbi.management.task.StopComponentTask
+shutdown-component-task=org.apache.servicemix.jbi.management.task.ShutDownComponentTask
+install-assembly-task=org.apache.servicemix.jbi.management.task.InstallAssemblyTask
+uninstall-assembly-task=org.apache.servicemix.jbi.management.task.UninstallAssemblyTask
+start-assembly-task=org.apache.servicemix.jbi.management.task.StartAssemblyTask
+stop-assembly-task=org.apache.servicemix.jbi.management.task.StopAssemblyTask
+shutdown-assembly-task=org.apache.servicemix.jbi.management.task.ShutDownAssemblyTask
+list-engines-task=org.apache.servicemix.jbi.management.task.ListEnginesTask
+list-component-task=org.apache.servicemix.jbi.management.task.ListComponentTask
+list-libraries-task=org.apache.servicemix.jbi.management.task.ListLibrariesTask
+deployed-assemblies-task=org.apache.servicemix.jbi.management.task.DeployedAssembliesTask
+deployed-serviceunits-task=org.apache.servicemix.jbi.management.task.DeployedServiceUnitsTask

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/ant-task/servicemix_ant_taskdef.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/README.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/README.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/README.txt (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/README.txt Tue Feb 21 15:40:05 2006
@@ -1,19 +1,19 @@
-Welcome to the ServiceMix cluster Example
-=============================================
-
-This example uses shows how to connect two ServiceMix containers in a cluster.
-
-To start the servicemix servers using the sample configurations, just run:
-
-../../bin/servicemix servicemix-poller.xml
-
-and
-
-../../bin/servicemix servicemix-writer.xml
-
-This will start a the two ServiceMix containers.
-
-One server have a file poller component, and the other one a file writer component.
-Just drop the test-file.xml in the inbox directory.
-It should be moved to the outbox directory.
-
+Welcome to the ServiceMix cluster Example
+=============================================
+
+This example uses shows how to connect two ServiceMix containers in a cluster.
+
+To start the servicemix servers using the sample configurations, just run:
+
+../../bin/servicemix servicemix-poller.xml
+
+and
+
+../../bin/servicemix servicemix-writer.xml
+
+This will start a the two ServiceMix containers.
+
+One server have a file poller component, and the other one a file writer component.
+Just drop the test-file.xml in the inbox directory.
+It should be moved to the outbox directory.
+

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-poller.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-poller.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-poller.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-poller.xml Tue Feb 21 15:40:05 2006
@@ -1,34 +1,34 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://xbean.org/schemas/spring/1.0"
-	xmlns:spring="http://xbean.org/schemas/spring/1.0"
-	xmlns:sm="http://servicemix.apache.org/config/1.0"
-	xmlns:foo="http://servicemix.org/demo/">
-
-	<!-- the JBI container -->
-	<sm:container id="jbi" name="poller" flowName="jms" useMBeanServer="true"
-		createMBeanServer="true" dumpStats="true" statsInterval="10">
-
-		<sm:activationSpecs>
-
-			<!-- Look for files in the inbox directory -->
-			<sm:activationSpec componentName="filePoller"
-				destinationService="foo:fileSender" service="foo:filePoller">
-				<sm:component>
-					<bean xmlns="http://xbean.org/schemas/spring/1.0"
-						class="org.apache.servicemix.components.file.FilePoller">
-						<property name="workManager" ref="workManager" />
-						<property name="file" value="inbox" />
-						<property name="period" value="1000" />
-					</bean>
-				</sm:component>
-			</sm:activationSpec>
-		</sm:activationSpecs>
-	</sm:container>
-
-	<!-- the work manager (thread pool) for this container -->
-	<bean id="workManager"
-		class="org.jencks.factory.WorkManagerFactoryBean">
-		<property name="threadPoolSize" value="30" />
-	</bean>
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://xbean.org/schemas/spring/1.0"
+	xmlns:spring="http://xbean.org/schemas/spring/1.0"
+	xmlns:sm="http://servicemix.apache.org/config/1.0"
+	xmlns:foo="http://servicemix.org/demo/">
+
+	<!-- the JBI container -->
+	<sm:container id="jbi" name="poller" flowName="jms" useMBeanServer="true"
+		createMBeanServer="true" dumpStats="true" statsInterval="10">
+
+		<sm:activationSpecs>
+
+			<!-- Look for files in the inbox directory -->
+			<sm:activationSpec componentName="filePoller"
+				destinationService="foo:fileSender" service="foo:filePoller">
+				<sm:component>
+					<bean xmlns="http://xbean.org/schemas/spring/1.0"
+						class="org.apache.servicemix.components.file.FilePoller">
+						<property name="workManager" ref="workManager" />
+						<property name="file" value="inbox" />
+						<property name="period" value="1000" />
+					</bean>
+				</sm:component>
+			</sm:activationSpec>
+		</sm:activationSpecs>
+	</sm:container>
+
+	<!-- the work manager (thread pool) for this container -->
+	<bean id="workManager"
+		class="org.jencks.factory.WorkManagerFactoryBean">
+		<property name="threadPoolSize" value="30" />
+	</bean>
+
+</beans>

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-poller.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-writer.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-writer.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-writer.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-writer.xml Tue Feb 21 15:40:05 2006
@@ -1,45 +1,45 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<spring:beans
-	xmlns="http://servicemix.apache.org/config/1.0"
-	xmlns:spring="http://xbean.org/schemas/spring/1.0"
-	xmlns:foo="http://servicemix.org/demo/">
-
-	<!-- the JBI container -->
-	<container spring:id="jbi" name="writer" flowName="jms" useMBeanServer="true"
-		createMBeanServer="true" dumpStats="true" statsInterval="10" rmiPort="1111">
-
-		<activationSpecs>
-
-			<!-- Write files to the outbox directory -->
-			<activationSpec componentName="fileSender"
-				service="foo:fileSender">
-				<component>
-					<bean xmlns="http://xbean.org/schemas/spring/1.0"
-						class="org.apache.servicemix.components.file.FileWriter">
-						<property name="directory" value="outbox" />
-						<property name="marshaler">
-							<bean
-								class="org.apache.servicemix.components.util.DefaultFileMarshaler">
-								<property name="fileName">
-									<bean
-										class="org.apache.servicemix.expression.JaxenStringXPathExpression">
-										<constructor-arg
-											value="concat('sample_', /sample/@id, '.xml')" />
-									</bean>
-								</property>
-							</bean>
-						</property>
-					</bean>
-				</component>
-			</activationSpec>
-
-		</activationSpecs>
-	</container>
-
-	<!-- the work manager (thread pool) for this container -->
-	<bean xmlns="http://xbean.org/schemas/spring/1.0" id="workManager"
-		class="org.jencks.factory.WorkManagerFactoryBean">
-		<property name="threadPoolSize" value="30" />
-	</bean>
-
-</spring:beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<spring:beans
+	xmlns="http://servicemix.apache.org/config/1.0"
+	xmlns:spring="http://xbean.org/schemas/spring/1.0"
+	xmlns:foo="http://servicemix.org/demo/">
+
+	<!-- the JBI container -->
+	<container spring:id="jbi" name="writer" flowName="jms" useMBeanServer="true"
+		createMBeanServer="true" dumpStats="true" statsInterval="10" rmiPort="1111">
+
+		<activationSpecs>
+
+			<!-- Write files to the outbox directory -->
+			<activationSpec componentName="fileSender"
+				service="foo:fileSender">
+				<component>
+					<bean xmlns="http://xbean.org/schemas/spring/1.0"
+						class="org.apache.servicemix.components.file.FileWriter">
+						<property name="directory" value="outbox" />
+						<property name="marshaler">
+							<bean
+								class="org.apache.servicemix.components.util.DefaultFileMarshaler">
+								<property name="fileName">
+									<bean
+										class="org.apache.servicemix.expression.JaxenStringXPathExpression">
+										<constructor-arg
+											value="concat('sample_', /sample/@id, '.xml')" />
+									</bean>
+								</property>
+							</bean>
+						</property>
+					</bean>
+				</component>
+			</activationSpec>
+
+		</activationSpecs>
+	</container>
+
+	<!-- the work manager (thread pool) for this container -->
+	<bean xmlns="http://xbean.org/schemas/spring/1.0" id="workManager"
+		class="org.jencks.factory.WorkManagerFactoryBean">
+		<property name="threadPoolSize" value="30" />
+	</bean>
+
+</spring:beans>

Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/cluster/servicemix-writer.xml
------------------------------------------------------------------------------
    svn:eol-style = native