![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Configuring Multiple Adapter Instances to use Distributed Queues to Process Inbound MessagesThe 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.In this scenario, several adapter instances with a subscriber service are configured to use a distributed queue. To do this, follow these steps:
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. Under the Transport tab, in the Quality of Service drop-down list, select Distributed Queue. See Transport Tab for detail.
6. In the project tree panel, click the Tuxedo Adapter Configuration icon defined for your adapter instance.
7.
8.
− 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
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.
12. Start the adapter instances and use the TIBCO ActiveMatrix BusinessWorks to send request messages to the Adapter.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 |