IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Enterprise Service Bus programming

Mediation flow with mediation policy

It is more cost-effective if system changes, associated with a change in the use of services by a business, can be done without changing the code or the need to redeploy the service. You can use a carefully designed mediation flow that uses mediation policy to make these changes.

In a traditional mediation flow decision points have fixed conditions, which are set at build time using IBM Integration Designer.

For example, a filter node might be used to route a message one way through a flow if a value in the message is equal to a particular constant, and a different way through the flow if it is not. With the use of mediation policy the conditions used to determine flow behavior can be applied at run time depending on values in each individual message, so that the flow can change dynamically depending on the context. Figure 1.shows the use of policies to apply different logging and transformation behaviors within a mediation flow based on the content of each message that is being processed. These policies are external to the mediation module, and they can be changed over time.

Figure 1. Use of policies in a mediation flow

Enterprise Service Bus programming


Related information:

DeveloperWorks article: example of 'Module' scope policy resolution
DeveloperWorks article: example of 'Target Service' scope policy resolution