IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows > Changing the value of mediation flow properties at run time

Example: Promoting properties

This example shows you how to use the properties promotion capability of the mediation flow editor.

A financial services company provides an interactive web-based stock market service to its customers. The company uses two different stock quote services to receive stock prices; a delayed service and a real-time service. The following diagram shows the response to the stock quote request that is returned from each service. Each response message is transformed and then logged before it is returned to the client.

The Promoted properties view of the LogMessage primitive shows that the Root property is promoted and its value is /body:

After the service has been running for a while, the administrator notices that there are problems with responses from the real-time service. To get more information, she decides to log the entire message rather than just the message body by changing the value of the alias LogLevel to / in the administrative console. The administrator saves the changed configuration, and the returned responses are now logged at the new level without her having need to restart the mediation module.

When a promoted property's value is changed at run time, the timeliness of the update might vary. In a cell environment, the change needs to be synchronized across all nodes. .

Changing the value of mediation flow properties at run time