Topics: |
The concept of a channel has been introduced to assist in the construction of message flows in iWay Service Manager (iSM). A channel serves as a container for all your components that simplifies the integration design process and improves organization, versioning, and troubleshooting.
Each message passes through a channel, and in many applications through multiple channels. Messages can be XML or non-XML, based on the demands of the application. Channels can be developed in meaningful groups using iWay Integration Tools (iIT), which is beyond the scope of this manual. Channels are named in iSM as "groupname":"inletname":listenername" as configured in iIT. One or more channels constitute an application, which can be configured and deployed as a single entity.
A channel contains the following elements that must be configured and associated with that channel:
The components of a channel are shown in the following diagram.
Note: The components indicated with an asterisk (*) must be configured for a channel (Inlet, Listener, Process, or Outlet). The other exits are optional.
The document travels through the channel components as follows:
Processes can take advantage of multiprocessor and multithread logic. You can choose from a wide variety of services provided by iWay or you can use custom-written agents that access third-party applications and systems. You can use multiple services in series or in parallel.
Common services include transformations, data enrichment, exchange of the message with other channels running on the same application, another application potentially on another machine, integration with other iWay products, such as such as iWay Data Quality Server (DQS), and emitting messages to external targets. Processes can be configured to be transactional.
Note: Parsing is implied in channel execution and occurs between the inlet and route phases. This step may be disabled on your channel, depending on your requirements.
iWay Service Manager (iSM) executes business logic based on the message that arrives and the protocol on which it is received. To accomplish a task in iSM, you must apply the appropriate business logic at the appropriate time. The business logic that is applied relates to both the message being processed and the processing stage. The task of iSM is to apply the configured business logic at the appropriate stage of message processing.
Configuration determines the business logic to apply to a message. Using the configuration, you can refer to built-in logic elements, or you can supply your own.
To apply business logic, iSM must know:
The major stages in the life of a message or document are:
Business logic is associated with each of these stages.
You can define a business logic element from the Registry section in the iSM Administration Console, or when you add it to a channel or listener. After a business logic element is defined, it can be applied to messages in a specific message flow. Business logic can also execute iWay Designer process flows.
Business logic, in the form of document-content based routing, may be performed by a listener or from within a process flow. For more information, see the iWay Service Manager Programmer’s Guide.
Process flows are usually deployed on the server on which they will be executed. However, process flows can also be housed in an external/remote library and checked out for use as needed. This allows the process to be carried as a named exit that might, for example, be identified in an external data storage, such as iWay Trading Partner Manager (TPM). Similarly, transforms can also be carried in libraries and called by name. This includes iWay and XSLT transforms.