Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO ActiveMatrix Adapter for Tuxedo : Adapter and Tuxedo Interaction

Adapter and Tuxedo Interaction
TIBCO ActiveMatrix Adapter for Tuxedo acts as a gateway to Tuxedo services, allowing you to invoke Tuxedo services. The adapter facilitates real-time integration between Tuxedo applications and other applications that are configured for the TIBCO environment. The adapter uses Tuxedo's ATMI interface and the communication paradigms provided by Tuxedo to interface with Tuxedo applications.
For subscription and request-response services, the adapter uses the communication paradigms to invoke a Tuxedo Service. The adapter reads, writes from, or writes into buffers.
For publication service, all communication between Tuxedo and the adapter is through EventBroker, Adapter Agent (Rendezvous Adapter Agent or JMS Adapter Agent), or Tuxedo Queue.
Table 4 lists the supported communication paradigms and the buffer type between Tuxedo and the Adapter for each adapter service.
EventBroker
The adapter publication and subscription services support the Event-based communication paradigm. The publication service is registered with the EventBroker to listen for events that occur within the Tuxedo System. The adapter subscribes to the Tuxedo event, forms the message using the data received, and then publishes the message onto the TIBCO environment on the subject name or destination name configured in the repository. In the case of the subscription service, data from the TIBCO environment is posted on EventBroker. The Tuxedo service listening on the specified event name can access this information.
Conversational
The adapter subscription service supports the Conversational communication paradigm. The subscriber listens for the message on the subject name configured in the repository. After getting the message, the adapter uses the conversational communication mechanism to call the specified Tuxedo service. The Tuxedo service processes the request and returns the reply data to the adapter. The adapter sends the reply message to the TIBCO environment and logs the status. This process continues until the conversation is over.
Tuxedo Queue
The adapter publication and subscription services support the Queue-based communication paradigm. The Tuxedo client or server puts the data into the Tuxedo Queue. There is a timer that will trigger the adapter to check the message in the Queue of Tuxedo. The adapter receives the data from the Queue and forms an AE message using the data received, and then publishes the message onto the TIBCO environment.
Adapter Agent
A Tuxedo application invokes an Adapter Agent, and then the Adapter Agent posts the incoming data to the adapter. The Adapter Agent can be used for publication and request-response invocation services. In the case of publication service, the adapter forms the message using the data received and then publishes the message onto the TIBCO environment on the subject name or the destination name configured in the repository. In the case of request-response invocation service, in addition to posting the message on the TIBCO environment, the adapter routes the reply back to the requesting Tuxedo application through the Adapter Agent. There are two types of Adapter Agent, Rendezvous Adapter Agent and JMS Adapter Agent.
Rendezvous Adapter Agent is the Adapter Agent which uses TIBCO Rendezvous to transfer the data. It can be used for publication and request-response invocation services.
In the case of publication service, it includes two situations, as follows:
Asynchronous Rendezvous Adapter Agent. When a Tuxedo application invokes an Adapter Agent, the agent posts the incoming data to the adapter using TIBCO Rendezvous. The adapter then publishes the message onto the TIBCO environment.
Synchronous Rendezvous Adapter Agent. When a Tuxedo application invokes an Adapter Agent, the agent posts the incoming data to the adapter using TIBCO Rendezvous, and then waits for the confirmation from the adapter. If the adapter successfully publishes the message onto the TIBCO environment, it will send a success reply to the agent. Otherwise, the adapter will send a failure reply to the agent. After that, the agent will send a reply to the Tuxedo application.
In the case of request-response invocation service, Rendezvous Adapter Agent is synchronous.
JMS Adapter Agent is the Adapter Agent which uses JMS to transfer the data. The Adapter Agent posts the received data to the JMS server, from which the adapter gets the message. The JMS Adapter Agent can be used for publication service.

Copyright © TIBCO Software Inc. All Rights Reserved