Use an Endpoint Lookup primitive to retrieve service endpoints by querying the WebSphere® Service Registry and Repository (WSRR). The endpoints that are returned by the query are stored in the message, and can then be used to dynamically invoke a service.
The Endpoint Lookup primitive queries the WSRR based on the properties specified in the details page of the properties view. The service information of each retrieved endpoint is placed in a primitiveContext/EndpointLookupContext element in the message context. Depending on the match policy setting, the endpoint address to which the message will be routed is then determined in one of the following ways: