Re: Use a message property in an endpoint
You use the <filename-wildcard-filter> on the inbound endpoint to filter the files you want to process by their file name.
For example:
<inbound>
<file:inbound-endpoint path="C:/blah/">
<file:filename-wildcard-filter pattern="test.txt" />
</file:inbound-endpoint>
</inbound>
This filter is described on the File Transport page. You can also search this forum for "filename-wildcard-filter" to see some other examples users have posted.
Cheers,
Jackie
That looks like it would support what I am talking about for the
outputPattern but I do not see something similar for the readFromDirectory.
But even if there was something for the readFromDirectory I don't see any
way to say from a message with this property (file name=c:\blah\test.txt)
read this file. Am I missing it?