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

Runtime behavior of the Endpoint Lookup primitive

A summary of the resulting endpoint invoked by the message flow, depending on various conditions, when an Endpoint Lookup primitive is used:

Endpoint Lookup primitive behavior based on various conditions
Match policy Match found EndpointLookup context updated output terminal URI placed in /headers/SMOHeader/Target/address Result
Retrieve one matching endpoint Yes Yes Output by endpoint lookup primitive If the "Use dynamic endpoint" property is enabled, the URI in the target address element is invoked.
Retrieve one matching endpoint No No No Match No Invoke the flow that is wired to the No Match terminal
Retrieve all matching endpoints Yes Yes Output by another primitive such as MessageElementSetter or Custom Mediation If the "Use dynamic endpoint" property is enabled, the URI in the target address element is invoked.
Retrieve all matching endpoints Yes Yes Output not found If an import is wired to the callout's reference, the service specified in the import will be invoked statically. Otherwise, a runtime error will occur.
Retrieve all matching endpoints No No No Match No Invoke the flow that is wired to the No Match terminal

Selecting endpoints dynamically from WSRR