You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jdm_mboy <ja...@hotmail.com> on 2006/07/06 00:22:36 UTC

Validation component problem

I've taken the file poller example and put its destinationservice to the
validation component to see if it works.  So far I haven't been able to get
it to work.

The file just sits in the directory no errors or anything on the console.

Anyone come up with this problem?

Here is a sample of my Servicemix.xml

<sm:activationSpec componentName="filePoller"
destinationService="foo:myService" service="foo:filePoller">
	<sm:component>
		<bean class="org.servicemix.components.file.FilePoller">
			<property name="file" value="C:\Temp\inbox"/>
			<property name="period" value="1000"/>
		</bean>
	</sm:component>
</sm:activationSpec>

<sm:activationSpec componentName="myService" service="foo:myService"
endpoint="myService" destinationService="foo:fileSender">
	<sm:component>
		<bean class="org.servicemix.components.validation.ValidateComponent">
			<property name="schemaResource" value="c:\test\test.xsd"/>
		</bean>
	</sm:component>
</sm:activationSpec>


Thanks
-- 
View this message in context: http://www.nabble.com/Validation-component-problem-tf1897519.html#a5190702
Sent from the ServiceMix - User forum at Nabble.com.