|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 | |
ServiceEndpoint[] |
resolveAvailableEndpoints(ComponentContext context,
MessageExchange exchange)
Resolves all the available endpoints which may not be applicable to a component. |
ServiceEndpoint |
resolveEndpoint(ComponentContext context,
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 |
public ServiceEndpoint resolveEndpoint(ComponentContext context,
MessageExchange exchange,
EndpointFilter filter)
throws 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
JBIException
public ServiceEndpoint[] resolveAvailableEndpoints(ComponentContext context,
MessageExchange exchange)
throws JBIException
JBIException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||