I want to pass thru .txt and .doc files.
Here is my directory structure -
My composite is as follows -
I read from the /in directory -
READ Adapter Configuration
adapter config as follows -
Mediator Routing Configuration
Note the filter for .txt files
Note the filter for .doc files
Here are the file relevant in properties
Note: how we retain the incoming doc name, when writing the doc file.
See Assign Values