Copyright © TIBCO Software Inc. All Rights Reserved


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

Configuring Multiple Adapter Instances to use Distributed Queues to Process Inbound Messages
The distributed queue mode allows multiple adapters to distribute the load among the distributed queue members. The subscription or request response services provide process level load balancing for inbound messages.
You can configure multiple adapter instances to use distributed queues, then create a TIBCO ActiveMatrix BusinessWorks 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 a subscriber service are configured to use a distributed queue. 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 SubscriptionService icon from the Palette panel to the Design panel.
4.
5.
6.
7.
Select Advanced>Sessions>DefaultRVCMQSession.
8.
You may need to change CMQ Name, Scheduler Weight, and Worker Weight.
CMQ Name The multiple 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 4 Defining an RVCMQ Session
9.
10.
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.
11.
12.
After testing the process and creating the EAR file, you are ready to import it into TIBCO Administrator Enterprise Edition and then deploy it. See TIBCO Administrator User’s Guide for detail.

Copyright © TIBCO Software Inc. All Rights Reserved