RAW

From Commander4j

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>