File endpoint in MULE -
How to move in patterns & amp; File Endpoint's file age property is in MULE
I tried to give moveToPattern = "# [function: datestamp] - # [message.inboundProperties ['originalfilename']] But it is not working as expected.
For file age, I have provided 50000 . According to my understanding, if the last modified date of the file is < Code> 22.01.2015: 20: 07: 20 , then the file should move from this folder to another code at 22.01.2015.: 20: 12: 20 . Lake This is not happening. Please explain by giving an example.
What is the difference between the connector reference and the endpoint context.
'File age' property defines the time when the file should wait before processing. Once it has been processed, it will be in the 'delete-directory' Moving to the specified directory.
File Connector is a global connector Land, where you can specify some properties that endpoint configuration of all your files.
& lt; File: connector name = "file" autoDelete = "true" outputAppend = "true" validating "true" validation connection = "true" doctor: name = "file" /> A file endpoint is a normal endpoint that can be referenced from all your endpoints. For example, you have different points with the same configuration, so you can specify all the properties at the global endpoint, so when you need to change something, you only change the global one.
& lt; File: endpoint name = "fileEndpoint" path = "$ {file.path}" outputpate tern = "$ {file.outputPattern}" moved to directory = "$ {file.moveToDir}" connector-riff = "file" doctor: name = "File" fileAge = "5000" /> Inbound / outbound endpoint file can then refer to global end points.
& lt; File: Outbound-Endpoint Response TimeTime = "10000" Ref = "File Contents" Doctor: name = "file - log" />
Comments
Post a Comment