I forgot to post the servicemix.xml file that was part of test-su.zip. Below
is the contents:
**************************
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:ts="http://test.com/ts">
<classpath>
<location>.</location>
</classpath>
<sm:serviceunit id="testsu">
<sm:activationSpecs>
<!-- Look for zip XML files -->
<sm:activationSpec
componentName="ftpPoller"
service="ts:ftpPoller"
destinationService="ts:fileSender">
<sm:component>
<bean
class="org.apache.servicemix.components.net.FTPPoller">
<property name="clientPool"
ref="ftpClientPool"/>
<property name="workManager"
ref="workManager"/>
<property name="period"
value="1000"/>
</bean>
</sm:component>
</sm:activationSpec>
<!-- Write files to the outbox directory -->
<sm:activationSpec componentName="fileSender"
service="ts:fileSender">
<sm:component>
<bean
class="org.apache.servicemix.components.file.FileWriter">
<property name="directory"
value="/output" />
<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>
</sm:component>
</sm:activationSpec>
</sm:activationSpecs>
</sm:serviceunit>
<!-- the work manager (thread pool) for this JBI container -->
<bean id="workManager"
class="org.jencks.factory.WorkManagerFactoryBean">
<property name="threadPoolSize" value="30"/>
</bean>
<!-- the host box to ftp test data from -->
<bean id="ftpClientPool"
class="org.apache.servicemix.components.net.FTPClientPool">
<property name="host" value="wadTrese01"/>
<property name="username" value="system"/>
<property name="password" value="po#12x%6"/>
<property name="binaryMode" value="true"/>
</bean>
</beans>
******************************************
--
View this message in context:
http://www.nabble.com/Error-deploying-on-servicemix-tf2411762.html#a6723139
Sent from the ServiceMix - User mailing list archive at Nabble.com.