|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jbi.messaging.routing.module.EndpointResolverModule
public class EndpointResolverModule
Router module to resolve address.
| Field Summary | |
|---|---|
static java.lang.String |
HIGHEST
the highest strategy. |
static int |
NUMBER_STRATEGY_PARAMETERS
Number of parameters defined in strategy. |
static java.lang.String |
PROPERTY_STRATEGY_PROTOCOLS
Constant used to specify the strategy to use. |
static java.lang.String |
RANDOM
the load balancing (random strategy). |
static java.lang.String |
STRATEGY_SEPARATOR
the strategy separator. |
| Constructor Summary | |
|---|---|
EndpointResolverModule()
|
|
| Method Summary | |
|---|---|
void |
electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedEndpoints,
ComponentContext sourceComponentContext,
org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
Elect a list of candidate endpoints to be destination of the exchange. |
protected void |
start()
Start the Fractal component |
protected void |
stop()
Stop the Fractal component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HIGHEST
public static final int NUMBER_STRATEGY_PARAMETERS
public static final java.lang.String PROPERTY_STRATEGY_PROTOCOLS
public static final java.lang.String RANDOM
public static final java.lang.String STRATEGY_SEPARATOR
| Constructor Detail |
|---|
public EndpointResolverModule()
| Method Detail |
|---|
public final void electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedEndpoints,
ComponentContext sourceComponentContext,
org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
throws RoutingException
SenderModule
electEndpoints in interface SenderModuleexchangeDecorator - the exchange decorator to send
RoutingException
protected void start()
throws RoutingException
RoutingException
protected void stop()
throws RoutingException
RoutingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||