WebSphere WebSphere Enterprise Service Bus, Version 6.0.2 Operating Systems:

Mediation primitives

Mediation primitives let you change the format, content or target of service requests.

A mediation flow component can contain one mediation primitive, a number of mediation primitives or no mediation primitives. Using more than one mediation primitive lets you create more complex mediations.

A mediation flow component contains flows for handling requests and flows for handling responses or faults.

A request flow begins with a single input node for the source operation. The input node is followed by one or more mediation primitives in sequence and a callout node for each target operation, all wired together. If a message is to be returned to the source directly after processing, it can be wired to an input response node in the request flow. If fault messages are defined in the source operation, an input fault node is also created.

A response flow begins with a callout response node for each target operation. The callout response nodes are followed by one or more mediation primitives in sequence and a single input response node representing the source operation, all wired together. If fault messages are defined in the source operation then an input fault node is created. If fault messages are defined in the target operation then a callout fault node is created.

If a fault is returned which is not defined in the interface you are using, it is returned as an unmodelled fault. Unmodelled faults are channelled through the fail terminal on the callout response node of the mediation module.

Using WebSphere Integration Developer, you can wire the fail terminal to mediation primitives to define what to do with the fault message. Alternatively, you can leave the fail terminal unwired which will result in a ServiceRuntimeException.


Concept topic

Terms of Use | Rate this page

Timestamp iconLast updated: 29 Oct 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.wbit.help.medprim602.doc\concepts\cwesb_mediationprimitives.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)