/n software BizTalk Adapters V4 - Online Help
Available for:
/n software BizTalk Adapters V4
Questions / Feedback?

BeforeSend Property

A set of Tcp commands to be executed before DataToSend is sent.

Data Type

String

Default Value

""

Remarks

BeforeSend is a script that is executed immediately before executing DataToSend.

Each line in the script is treated as a single command.

Valid additional scripting commands are listed below:

sendex Data [Response]Sends Data to the server. If Response is not set, the adapter will wait for ExpectedResponse or ExpectedResponseExpression.
send DataSends Data to server and does not wait for a response.
wait ExpectedResponseWaits for a server response that includes ExpectedResponse. If no matching response is received within Timeout seconds an error occurs.
sleep TimeSleeps Time seconds.

Commands that include spaces should be surrounded with quotes. For instance:

exec "echo hello"
Quotes within a command do not need to be escaped. For instance:
exec "echo hello "world""
Will send:
echo hello "world"

The "\" character is the escape character. It is used with the special case of Cr and Lf characters. For instance:

exec "pwd\r\n"
Will send "pwd" followed by a CrLf sequence.

The "\" escape character is also used when specifying non-ASCII characters by passing Hex encoded values. For instance:

exec "\7F"
Will send the DEL control character.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0