In normal publish-subscribe operation, a message is sent to all subscribers. However, in some situations you may wish to have messages sent to one subscribing RTclient. Load balancing can only be used for publish-subscribe connections, not peer-to-peer connections. The message load balancing mode overrides the message type load balancing mode. By default, messages are not load balanced and are distributed to all subscribers. For more information, see Load Balancing Mode earlier in this chapter. Detailed information is presented in Load Balancing.
The load balancing mode of an outgoing message can always be set on a per-message basis, but using the message type load balancing mode makes it easier to change the default mode for all outgoing messages of a specific type.
TipcMtSetLbMode. For example:
TipcMtGetLbMode. For example:
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |