file connector mule

11

Click here to load reader

Upload: sindhu-vl

Post on 08-Jan-2017

172 views

Category:

Design


1 download

TRANSCRIPT

Page 1: File connector   mule

Presented BySindhu VL

File Connector - Mule

Page 2: File connector   mule

Description : The File connector allows your Mule

application to exchange files with a file system.  The connector can be configured to filter the file it reads and the way files are written, such as whether Mule places the output in a new file or appends the output to an existing file.

Page 3: File connector   mule

Attributes : General :Display Name Path Move to PatternConnector ConfigurationPolling Frequency File AgeFile Name Regex FilterFile Name / Pattern

Page 4: File connector   mule

Advanced : Address Response TimeoutEncoding Disable Transport TransformerMIME TypeConnector Endpoint

Page 5: File connector   mule

GENERAL PROPERTIES :Display Name : Defaults to the generic

endpoint name. Change the display name, which must be alpha-numeric, to reflect the endpoint’s specific role, such as Order Entry Endpoint

Path : The target directory on the connected file system. If File is implemented as an inbound endpoint, this would be the location within the connected file system of the file being transferred into the flow. For an outbound File endpoint, this would be the directory on the connected file system to which the file currently in the flow is written.

Page 6: File connector   mule

Move to Pattern : (Applies to inbound File endpoints only) . The pattern to be used when moving a file according to the Move to Directory property. It can use the patterns specified by the filename parser configured (often through a Connector template) for this particular File endpoint.

Connector Configuration : Use the dropdown list to select a previously created connector configuration for this endpoint. If you have not created a connector configuration for this type of endpoint, you can do so from this window by clicking Add . Click Edit to modify a previously created global element.

Page 7: File connector   mule

Polling Frequency : (Applies to inbound File endpoints only.)Specify how often the endpoint should check for incoming messages. The default value is 1000 ms.

File Age : (Applies to inbound File endpoints only.)Sets a minimum period a file must wait before it is processed. This helps ensure that long files are received in their entirety before processing starts. However, Mule and the connected file system must be on synchronized time for this feature to work properly.

Page 8: File connector   mule

File Name Regex Filter : (Applies to inbound File endpoints only.)Configure a filter to restrict the files being processed.

File Name / Pattern : (Applies to outbound File endpoint only). Specify a filename or pattern for naming files that are sent from the File endpoint to the connected file system. If not set, the File endpoint uses the same file-naming pattern used for incoming files.

Page 9: File connector   mule

ADVANCED PROPERTIES : Address : Enter the address for this

endpoint, like  http://localhost:8081/file.Response Timeout : Specify how long (in

ms) the endpoint waits for a response from the connected file system.

Encoding : Choose from a drop-down list the character set used for message data. (such as UTF-8).

Page 10: File connector   mule

Disable Transport Transformer : Check this box if you do not want to use the endpoint’s default response transport.

MIME Type : Select from the dropdown list one of the formats this endpoint supports.

Connector Endpoint : Use the dropdown list to select a previously configured global endpoint reference. If you have not created a global element for this type of endpoint, you can do so from this window by clicking Add. Click Edit to modify a previously created global element.

Page 11: File connector   mule

Thank you!!!!!!!!!