IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows > Selecting endpoints dynamically

Message routing when dynamic endpoint property is set

The URI that is invoked by a mediation flow at run time depends on the setting of the Use dynamic endpoint property of the callout node, the existence of a URI in the target address element or AlternateTarget address element in the SMOHeader, and the wiring of the callout node.

The following table summarizes this behavior under various conditions:

Runtime behavior when callout is set to use dynamic endpoint
"Use dynamic endpoint" set on callout or service invoke URI exists in /headers/SMOHeader/Target/address or in /headers/SMOHeader/AlternateTarget Import is wired to callout's associated reference Runtime behavior
Yes Yes Yes message routed to URI in target address element
Yes Yes No message routed to URI in target address element
Yes No Yes message routed to static endpoint address of the import
Yes No No unwired reference exception

Selecting endpoints dynamically