public interface EndpointResolver
ServiceEndpoint resolving policies from static
relationships to dynamic resolution of the endpoint used based on some policy.| Modifier and Type | Method and Description |
|---|---|
javax.jbi.servicedesc.ServiceEndpoint[] |
resolveAvailableEndpoints(javax.jbi.component.ComponentContext context,
javax.jbi.messaging.MessageExchange exchange)
Resolves all the available endpoints which may not be applicable to a component.
|
javax.jbi.servicedesc.ServiceEndpoint |
resolveEndpoint(javax.jbi.component.ComponentContext context,
javax.jbi.messaging.MessageExchange exchange,
EndpointFilter filter)
Resolves the endpoint which should be used for the given message exchange
using either a hard coded endpoint or some policy which chooses the endpoint
dynamically using some algorithm.
|
javax.jbi.servicedesc.ServiceEndpoint resolveEndpoint(javax.jbi.component.ComponentContext context,
javax.jbi.messaging.MessageExchange exchange,
EndpointFilter filter)
throws javax.jbi.JBIException
context - is the component contextexchange - the message exchange which the endpoint will be used for which may
contain some state to help choose the algorithm.filter - the filter to be applied to the available endpointsjavax.jbi.JBIExceptionjavax.jbi.servicedesc.ServiceEndpoint[] resolveAvailableEndpoints(javax.jbi.component.ComponentContext context,
javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.JBIException
javax.jbi.JBIExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.