fixSend

Description

fixSend task sends FIX message to the session.

Parameters

Attribute Description Default Required
refid Reference name of the FIX Peer. None Yes
sender Deprecated. FIX Session SenderCompID. None No
target Deprecated. FIX Session TargetCompID. None No
type Deprecated. Session'sFIX Protocol version. None No
repeat How many times repeat this operation. 1 No
repeatDelay Time to wait between performing operation.
Format: INTEGER_VALUE [NANOSECONDS|MICROSECONDS|MILLISECONDS|SECONDS|MINUTES|HOURS|DAYS]
If unit of measurement is not specified, SECONDS is used.
None No
count How many times send each message. 1 No
sendDelay Time to wait between message send operations�
Format: INTEGER_VALUE [NANOSECONDS|MICROSECONDS|MILLISECONDS|SECONDS|MINUTES|HOURS|DAYS]
If unit of measurement is not specified, SECONDS is used.
None No
file File containing FIX messages to be sent name. FIX *.in and *.out ligs can be used without preprocessing. If file is specified, then fixSend task shouldn't contain fixMessage iside. None No
skip FIX messages types to be skipped wile batch send from file. If not specified all messages will be sent. None No
validateOutgoing Validate outgoing messages before send or not. false No
fillHeaderTrailer Auto fill raw message before send. Possible values are:
full - fill all the possible Header/Trailer fields
onlyReq - fill only required filed
none - does not fill the message
onlyReq No

The fixSend task should contain a list of FIX messages to be sent.

Examples

Send bath of messages from file

    <fixSend refid="main_initiator" file="${test.base.dir}/batches/TROIOI_BLP_40.in"  skip="1|A|6" repeat="1" count="1" repeatDelay="0" sendDelay="0" validateOutgoing="false"/>

Send a message 4 times

    <fixSend refid="main_initiator" repeat="2" count="2" repeatDelay="1" sendDelay="1">
    	<fixMessage source="J" />
    </fixSend>

Send a message without validation

    <fixSend refid="main_initiator" validateOutgoing="false">
        <fixMessage source="J" />
    </fixSend>