Hi,

I am trying to print all lines of input file & then copy the input file to ouput directory. For that I am using the below configuration:

Code:
 <channel id="message.inbound" />
	<channel id="message.outbound" />
	<context:property-placeholder location="classpath:/Budetest.properties" />
   
   <file:inbound-channel-adapter id="mfInputFileProcessor"
		directory="file:${input.directory}" filename-pattern="message*">
		<poller id="mfInputPoller" fixed-delay="10" time-unit="SECONDS"/>
	</file:inbound-channel-adapter>	

	<file:file-to-string-transformer
		input-channel="mfInputFileProcessor"
		output-channel="mfInputFileParser" charset="UTF-8"
		delete-files="false" />

	<splitter input-channel="mfInputFileParser" ref="mFileHandler"
		method="extractLines" output-channel="message.inbound" />

	<beans:bean id="mFileHandler"
		class="com.test.project.brokerage.fileAdaptor.Utilities.FileHandler" />
		
	 <beans:bean id="printBudeMessage"
		class="com.test.project.brokerage.fileAdaptor.FileTransformerTest" />
				
	<splitter input-channel="message.inbound" ref="printBudeMessage"
		method="printLine" output-channel="message.outbound" />
	
	<file:outbound-channel-adapter id="filesOut"
			 channel="message.outbound"
             directory="${output.directory}"
             auto-create-directory="true"
             delete-source-files="false"/>
Its printing all the lines but not copying the input file to output directory.

Please advise.

Regards,
Mahendra Singh