RAW: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category: Middleware4j]] | |||
The RAW connector is special. It's provided to enable the middleware to copy/move files without any kind of modification or interpretation. This is more efficent than using a different kind of connector. | The RAW connector is special. It's provided to enable the middleware to copy/move files without any kind of modification or interpretation. This is more efficent than using a different kind of connector. | ||
Line 9: | Line 10: | ||
=RAW Map Configuration= | =RAW Map Configuration= | ||
'''config.xml''' | '''config.xml''' | ||
<syntaxhighlight lang="xml"> | |||
<map id="map427" enabled="Y" description="GEN RAW Copy File Only"> | <map id="map427" enabled="Y" description="GEN RAW Copy File Only"> | ||
<input id="in1" description="Read RAW Input"> | <input id="in1" description="Read RAW Input"> | ||
Line 23: | Line 25: | ||
</output> | </output> | ||
</map> | </map> | ||
</syntaxhighlight> |
Latest revision as of 10:26, 25 August 2024
The RAW connector is special. It's provided to enable the middleware to copy/move files without any kind of modification or interpretation. This is more efficent than using a different kind of connector.
The other connectors will load the input file and convert into a XML representation so you can apply XSL transformations and convert into different file formats. This has a memory and cpu overhead.
The RAW connector bypasses this step and just moves the file.
You might to this if you want to poll and remote file share and move files to a local folder for import into an application without modification.
RAW Map Configuration
config.xml
<map id="map427" enabled="Y" description="GEN RAW Copy File Only"> <input id="in1" description="Read RAW Input"> <type>RAW</type> <path>./interface/input/427 (GEN Copy)</path> <mask/> <pollingInterval>5000</pollingInterval> <XSLT/> </input> <output id="out1" enabled="Y" description="Write Copy 1 and 2"> <path>./interface/output/427 (GEN Copy 1);./interface/output/427 (GEN Copy 2)</path> <type>RAW</type> <XSLT/> </output> </map>