Using a Custom Application Configuration File
You can change the default property settings for a webMethods messaging client built in C# by reconfiguring its application configuration file. For example, you may want to specify a particular Broker to the messaging client, or change the default timeout value for a connection.
By default, no application configuration file is used with a C# messaging client; the client uses the default property values defined in the webMethods C# Messaging API MsgConfig class. However, you can reconfigure the default settings by:
Generating an application configuration file at compile time, if one does not already exist.
Modifying some XML elements.
Adding the property names and their values to the configuration file.