Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 TIBCO ActiveMatrix Adapter for Kenan/BP : Adapter Services

Adapter Services
The adapter offers request-response service. You can configure the service using the TIBCO Designer or TIBCO Business Studio graphical user interface (GUI). Typically, an adapter configuration contains one or more request-response services.
Request-Response Service
The adapter acts as a request-response server for the requests, from which Kenan/BP sends an appropriate response. An external application (for example, a TIBCO AcitveMatrix BusinessWorks process) sends a request containing an XML String to the adapter request-response service. This XML String contains the name and input parameters of the API operation to be executed. In addition to the XML String, the parameters pertaining to the Request Header can also be specified here.
The XML message conforms to Kenan/BP XML Schema Definition (XSD) files. The set of XSD files which are a part of the Kenan/BP installation is used for configuring the request coming to the adapter. No custom or user-defined schemas are imported into the repository at design-time.
The request-response service extracts the incoming XML message and send it to the API Transaction Set. The Java Interface of the API Set validates and process the XML request. The reply sent by the API-TS is captured by the adapter and sent to the external application.
The request-response service can be multithreaded using SDK MDispatcher.The adapter can also be configured to manage requests using load balancing among a set of adapters that participate in the same named queue. Additionally, the adapter has been designed to allow multiple threads to process application requests. The workflow of the Request-Response service is shown in the figure below.
Figure 1 Typical Request-Response Service Flow

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved