How to: |
All defined ports must be associated with a channel. You can create, edit, or delete a channel for your event adapter using iWay Explorer. For information on creating a channel, see How to Create a Channel. For information on editing a channel, see How to Edit a Channel. For information on deleting a channel, see How to Delete a Channel.
To create a channel using iWay Explorer:
The ports and channels nodes appear.
The Add a new JDEWORLD channel pane opens on the right, as shown in the following image.
The Edit channels pane opens on the right, where you can enter the listener port number and choose the synchronization type from the drop-down list, as shown in the following image.
Parameter |
Description |
---|---|
Driver Class |
The JDBC driver that is used to access the J.D. Edwards World system is provided. For example: com.ibm.as400.access.AS400JDBCDriver |
Driver URL |
Type the URL where the J.D. Edwards World system is running. For example: jdbc:as400://HOST/;translate binary=true where:
|
User |
Type a valid user ID for the J.D. Edwards World system. |
Password |
Type a valid password for the J.D. Edwards World system. |
Polling Interval |
This is a time, expressed in milliseconds. The maximum interval between checks for new documents. The higher this value, the longer the interval, and the fewer system resources that are used. The side-effect of a high value is that a worker thread cannot respond to a stop command. If this value is set to 0, the listener runs once and terminates. |
SQL Query |
The SQL query used to return data from the custom table. For example: select * from JDFDATA.IWAY_JDE where IWAY_TRANSACTION=4 |
Post Query (Optional) |
Optional. |
Delete Keys |
An SQL statement to delete key fields from the custom table. For example: IWAY_TRANSACTION |
Synctype |
Select one of the following options:
|
The Select Ports pane opens, as shown in the following image.
The channel appears in the left pane under the channels port with an X over the icon to indicate that the channel is disconnected, as shown in the following image.
A summary window opens in the right pane, showing the channel description, channel status, and available ports. All the information in the summary is associated with the channel you created.
You must start the channel to activate your event configuration.
When the channel is activated, the X over the icon in the left pane disappears.
To stop the channel at any time, you can move the pointer over Operations and select the option to stop the channel.
To edit a channel:
The Edit channel pane opens on the right and includes current information for Channel Name, Description, and Channel Type, as shown in the following image.
To delete a channel:
A confirmation dialog box opens, as shown in the following image.
The channel disappears from the list in the left pane.