Hello All,
I have a file outbound channel adapter configured as below and am finding that the files generated have the complete message written to them including the header, e.g.
Given that the inbound messages are typed as Message<String> how can I configure such that only the payload is written? I've seen examples, for instance the STS template project, which seem to accomplish this w/o any apparent difference that what I'm attempting. In that case the channel-adapter is connected to a header-value-router, but the message type should be the same.Code:[Payload=Sat May 05 21:19:30 MDT 2012][Headers={timestamp=1353739161022, id=d677224a-6bca-4849-bdaa-be6d48891609, file_name=input/sample.fnv}]
Thanks for any help!
--john
Code:<int-file:outbound-channel-adapter id="multibeamFilesOut" directory="file:target/output/multibeam" delete-source-files="false" channel="channel4"/> <int:channel id="channel1">


Reply With Quote