How to: |
Each inlet contains a sequence of listeners, optional decryptors, and optional preparsers.
Listeners are defined as protocol handlers and are responsible for startup, shutdown, and obtaining the incoming messages. Listeners receive the messages from the transport protocol, set special registers such as header values and input source, and then pass the message to a decryptor.
Decryptors can apply a decryption algorithm to the incoming message and verify the security of the message. A decryptor can be used to verify that the sender is authorized, to check that the message has not been changed, and to decrypt any part of the message that has been encrypted. Finally, the decryptor passes the message to a preparser.
Preparsers convert transported messages into processable documents. For example, some preparsers convert non-XML messages into XML documents. Preparsers can be chained, so that the output of one preparser becomes the input of the next preparser. Input to the first preparser is a byte stream, and output is a properly encoded string. Subsequent preparsers accept and emit strings.
To define an inlet using the iWay Service Manager Administration Console:
The Inlets pane opens.
The table that is provided lists each inlet that is defined with a brief description. If you click the document schematic icon in the References column for a specific inlet, you will see which components are referencing that inlet.
The following image shows the result of clicking the schematic icon for the file1 inlet:
The New Inlet Definition pane opens.
The Construct Inlet pane opens.
The table that is provided is used to list the components that are currently registered with the inlet.
The Select component type pane opens.
The table that is provided lists the component types you can select and register with the inlet you are defining.
Note: Each inlet is required to have a registered listener. The remaining components are optional during inlet configuration. For more information on creating a listener, see Configuring iWay Registry Components.
The Select a listener definition pane opens, as shown in the following image.
You are returned to the Construct Inlet pane, which now includes the listener (file1) you registered with your inlet (SampleInlet).
You can repeat this process to define additional components for the inlet, such as a decryptor or a preparser.
If you return to the main Inlets pane, you will notice that the inlet you just defined (SampleInlet) has been added to the list, as shown in the following image.
You can modify an inlet by changing one of the components already defined for the inlet or by adding new components.
Note: If you change one of the components assigned to an inlet, such as a listener, the component will be changed in the registry, not only in the particular inlet you are modifying.
To modify an inlet:
The Construct Inlet pane opens.
The table that is provided shows the component that has been registered for the inlet you are modifying. In this example, the file1 listener is used.
For more information on listeners, decryptors, and preparsers, see Configuring iWay Registry Components.
The inlet is now modified.
To delete an inlet:
A confirmation dialog box opens, prompting you to confirm the deletion of the inlet.
The inlet is deleted from the system.
Tip: To delete more than one inlet at once, you can select multiple check boxes in the Inlets pane and click Delete.
To rename an inlet:
The Rename pane opens.
You are returned to the main Inlets pane.
The new name for the inlet you provided is shown.
To copy an inlet:
A copy of the inlet is made, as shown in the following image.
Making copies of an inlet is useful for versioning and testing purposes.
Tip: To copy more than one inlet at once, you can select multiple check boxes in the Inlets pane and click Copy.
iWay Software |