Unable to change Load Balance Field of a message using Java API.

Unable to change Load Balance Field of a message using Java API.

book

Article ID: KB0085255

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
Description:
==========
Using the API function msg.setLbMode(TipcDefs.LB_NONE); alone does not properly set the value of the Load Balancing Mode.

Environment:
==========
All

Description:
==========
The following two calls must be made to properly set the LOAD BALANCE mode of an individual message.

msg.setLbMode(TipcDefs.LB_NONE);
msg.setPropInt(TipcMsg.PROP_LB_MODE_NUM, TipcDefs.LB_NONE);

Issue/Introduction

Unable to change Load Balance Field of a message using Java API.