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
- Mediation policy concepts
You must understand the fundamental concepts related to mediation policy, and their relationships to each other, before using mediation policies in mediation primitive flows.
- The mediation policy resolution process
The mediation policy resolution process draws together the mediation policy concepts and describes the parameters that can be set on the Policy Resolution mediation primitive.- Mediation policy usage scenarios
These scenarios show how you can make your mediation flows more responsive and easier to change.- Applying policies using Business Space
You can use Business Space for Mediation Policy administration using either Module mediation policies or Target Service mediation policies.
Enterprise Service Bus programming
Related information:
DeveloperWorks article: example of 'Module' scope policy resolution
DeveloperWorks article: example of 'Target Service' scope policy resolution