Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Configuring Advanced Features : Configuring Multiple Adapter Instances to use Distributed Queues to Process Outbound Messages

Configuring Multiple Adapter Instances to use Distributed Queues to Process Outbound Messages
The distributed queue mode allows multiple adapters to distribute the load among the distributed queue members. The agent-based publication and request-response invocation services provide process level load balancing for outbound messages.
You can configure multiple adapter instances to use distributed queues, then create a process to test them and use TIBCO Administrator to deploy multiple instances of the adapter. The instances can be deployed on the same machine, or multiple machines.
Example Scenario
In this scenario, several adapter instances with Publication service is configured to use distributed queues. To do this, follow these steps:
1.
2.
Drag and drop the TuxedoAdapterConfiguration icon to the Design panel and configure the adapter instance.
3.
Drag and drop the PublicationService icon to the Design panel and make sure that the service name of the Publication service is same as the serviceName parameter of the TIBCO Rendezvous Adapter Agent Method that you are using.
4.
Under the Publisher Options tab, select Distributed Queue in the Agent Transport Type drop-down list. See Publisher Options Tab for detail.
5.
6.
7.
Select Advanced>Sessions>DefaultRVCMQSession.
8.
You may need to change CMQ Name, Scheduler Weight, and Worker Weight.
CMQ Name The adapter instances that you are using must have the same CMQ Name.
Scheduler Weight Acceptable values range from 1 to 65545. Default is 1.
Worker Weight The queue member with the greatest Worker Weight will process the heaviest message.
See TIBCO Designer Palette Reference for detail.
Figure 5 Defining an RVCMQ Session
9.
Select PubAgentRvCmqSubscriber under DefaultRVCMQSession, the subject name you are using in the Subject field should be same as the subject parameter of the TIBCO Rendezvous Adapter Agent Method that you are using. All the adapter instances that you are using should have the same subject name. No other attribute of this Endpoint should be manually edited.
Figure 6 Defining PubAgentRvCmqSubscriber
10.
11.
Create a TIBCO ActiveMatrix BusinessWorks process, configure it, and save the project. See TIBCO ActiveMatrix BusinessWorks Process Design Guide for detail about how to design a process.
12.
13.
After testing the process and creating the EAR file, you are ready to import it into TIBCO Administrator and then deploy it. See TIBCO Administrator User’s Guide for detail.

Copyright © TIBCO Software Inc. All Rights Reserved