IBM i Connector - Trigger Configuration (Magic xpi 4.5)
The IBM i Trigger Configuration dialog box contains the following fields:
|
|
Operation Details
|
Queue name
|
Specifies the IBM i queue name.
Click to open the Expression Editor, and then enter the required name.
|
Size of data receiver
|
Determines how many characters can be contained in queue messages that are received from IBM i.
The default is 30000 characters.
Click to open the Expression Editor, and then enter the required value.
|
Sequence
|
The sequence in which entries are received from a queue. Select one of the following from the drop-down list:
|
Key order
|
The comparison criteria to use when searching for message keys on the data queue. The keys found are compared to the data in the Key Data field. Select one of the following from the drop-down list:
-
Greater than
-
Less than
-
Not equal to
-
Equal to
-
Greater than or equal to
-
Less than or equal to
This field is available only if the Sequence field (above) is set to KEYED.
|
Key length
|
The key length. This should be same value that you defined when creating a keyed data queue.
If the key length is not specified, the length of the Key data parameter is used as the default.
|
Key data
|
The data used for receiving a message from the data queue.
Click to open the Expression Editor, and then enter the required data.
This field is available only if the Sequence field (above) is set to KEYED.
|
Message contents variable
|
Click to the right of the field to open the Variables List. From the list, select a variable as a location for the message contents.
|
Arguments XML location
|
Click to the right of the field to open the Variables List. From the list, select a variable as a location for the XML results.
|
Reconnection Policy
|
Reconnect every (seconds)
|
The time interval, in seconds, that the Magic xpi Server will wait before attempting to reconnect to the IBM i server.
Click to open the Expression Editor, and then enter the required time interval.
|
Number of reconnect retries
|
The maximum number of attempts the Magic xpi Server makes to reconnect to the IBM i server. For unlimited attempts, enter 0.
Click to open the Expression Editor, and then enter the required number.
|
Keep alive interval (minutes)
|
The amount of time in minutes that the trigger can be unresponsive before it is automatically restarted. The default value is 0, which means that the trigger can be permanently unresponsive.
Note:
|
You should be very careful when selecting a value for this parameter. If the chosen value is too small, a trigger may terminate before it completes a valid operation.
|
|
To use the IBM i connector as a trigger:
-
Define an IBM i resource in the Settings dialog box's Resources section. For more information, click here.
-
Define an IBM i service in the Settings dialog box's Services section. For more information, click here.
-
Drag the IBM i connector to Magic xpi's Trigger area. When you do this, the Properties pane for the connector opens.
-
In the Setting section, select the required Service Name from the drop-down list.
-
Double-click or right-click on the connector and select Configuration from the context menu to open the Component Configuration: IBM i dialog box. Enter the relevant information.
-
When you have finished configuring your System i trigger, click OK to save the settings and to exit the dialog box. Alternatively, you can click Cancel to exit the dialog box without saving your settings.