Tibems.SetProperty


Method

Declaration

static void SetProperty( 
    string key, 
    object val ); 

Purpose

Modify a property value.

Remarks

In .NET, methods exist to get and set the properties. SetProperty provides an alternate way to set property values, which is consistent with the EMS Java API (for easy porting to .NET).

Parameter
Description
key
Set the value associated with this property name.
You may supply any of the constants listed in the table below. The constants are defined as static fields of Tibems. The values of those constants are the actual property names.
value
Set the property to this value.

(Sheet 1 of 2)

Property Constant
Corresponding Methods
PROP_SOCKET_RECEIVE_SIZE
PROP_SOCKET_SEND_SIZE
PROP_CONNECTION_ATTEMPTS
PROP_RECONNECTION_ATTEMPTS
PROP_CLOSE_IN_CALLBACK
PROP_PING_INTERVAL
PROP_FT_SWITCH
PROP_MESSAGE_ENCODING
PROP_DAEMON_DISPATCHER

See Also

Tibems.GetProperty


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com