Configuring the Adapter for Load Balancing Using JMS


To configure load balancing using JMS:

  1. Start the JMS sever.
  2. Configure a queue and queue connection factory. Set the prefetch property of the queue to a low value (1) so that the load balancing is visible. For non-administered queues (when the queue is created by you and not through the JMS administrator), the default value is 5, so you may need to pump more than five messages to test load balancing.
  3. Use the configured queue and queue connection factory to configure the Subscription and Request Response Service in the project.
  4. Start many instances of the service. Start a Publication and Request Response Invocation Service to publish data to the same queue. The messages will be distributed across service instances.

For details on queue and queue connection factory, see the TIBCO Enterprise for JMS documentation.


TIBCO Adapter™ for COM User’s Guide
Software Release 5.3, September 2005
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com