|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EndpointResolver
A Strategy pattern which can be used to plug in different ServiceEndpoint
resolving policies from static
relationships to dynamic resolution of the endpoint used based on some policy.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 endpoints
javax.jbi.JBIException
javax.jbi.servicedesc.ServiceEndpoint[] resolveAvailableEndpoints(javax.jbi.component.ComponentContext context, javax.jbi.messaging.MessageExchange exchange) throws javax.jbi.JBIException
javax.jbi.JBIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |