Log out?

Execute Command Line Transport

The Execute Command line Transport – Converts an incoming XML message to a command line and executes it.

The eiConsole Execute Command Line Transport is used to interpret data that has flowed through the system as a command to execute at the command line. To configure this, select Execute Command Line from the Transport Type drop down.

Configure the Transport Name as desired.

On the Basic configuration tab, you will see the Command Source drop down menu. Here you’ll select the source of the command to execute:

The Command field is used for providing the command to execute when this transport runs.
The Script File is the path to the command script to execute. This script needs to be in the appropriate Format.
The Params is used to provide parameters to the command to be executed. Each parameter will be used in its entirety, even if it has multiple elements.
The Command timeout is time to wait for the command to complete – in seconds.

The Advanced tab configuration

If the system command will return data that will be used to invoke another interface, specify the CallBack Listener. This Listener name should match the Programmatic or Triggerable Listener name of the route that you wish to invoke. For this example, the name given was: SomeProcessListener.

The Pipe Data checkbox allows the users to pipe the transaction data into the standard input stream of the process started by the command. the command must support reading data from standard in.

The Allow Failure checkbox can log the command failing (if selected) and the transaction will be continued with the failure message in the data, in this case. Otherwise if the command fails, an exception will be thrown and the route will terminate.

    to post comments

    This is a unique website which will require a more modern browser to work! Please upgrade today!

    Thanks!

    Our editors are notified.

    Close