<FlowConfiguration>

	<id>moveFlow</id>
	<description>Move a set of files to a destination</description>
	<name>moveFlow</name>

	<autorun>true</autorun>

	<EventConsumerConfiguration>

		<listenerId>ConsumerLogger0</listenerId>
		<listenerId>Cumulator</listenerId>

		<MoveConfiguration>
			<serviceID>MoveGeneratorService</serviceID>

			<id>move</id>
			<name>moveAction</name>
			<description>Move a set of files to the destination</description>
			<destination>/path/to/destination/</destination>

			<timeout>1000</timeout>
		</MoveConfiguration>

	</EventConsumerConfiguration>

	<EventGeneratorConfiguration>
		<serviceID>fsEventGeneratorService</serviceID>

		<wildCard>*</wildCard>
		<watchDirectory>moveFlow/in</watchDirectory>
		<osType>OS_UNDEFINED</osType>
		<eventType>DIR_CREATED</eventType>
	</EventGeneratorConfiguration>

	<ListenerConfigurations>
		<StatusProgressListener>
			<serviceID>statusListenerService</serviceID>
			<id>StatusActionLogger0</id>
		</StatusProgressListener>

		<LoggingProgressListener>
			<serviceID>loggingListenerService</serviceID>
			<id>ActionLogger0</id>

			<loggerName>it.geosolutions.ActionLogger</loggerName>
		</LoggingProgressListener>

		<LoggingProgressListener>
			<serviceID>loggingListenerService</serviceID>
			<id>ConsumerLogger0</id>

			<loggerName>it.geosolutions.ConsLogger</loggerName>
		</LoggingProgressListener>

		<CumulatingProgressListener>
			<serviceID>cumulatingListenerService</serviceID>
			<id>Cumulator</id>
		</CumulatingProgressListener>

	</ListenerConfigurations>

</FlowConfiguration>
