|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.routing.outbound.AbstractOutboundRouter
AbstractOutboundRouter is a base router class that tracks
statistics about message processing through the router.
| Field Summary | |
static int |
ENABLE_CORRELATION_ALWAYS
|
static int |
ENABLE_CORRELATION_IF_NOT_SET
|
static int |
ENABLE_CORRELATION_NEVER
|
protected int |
enableCorrelation
|
protected List |
endpoints
|
protected Log |
logger
logger used by this class |
protected PropertyExtractor |
propertyExtractor
|
protected String |
replyTo
|
protected RouterStatistics |
routerStatistics
|
protected UMOTransactionConfig |
transactionConfig
|
| Constructor Summary | |
AbstractOutboundRouter()
|
|
| Method Summary | |
void |
addEndpoint(UMOEndpoint endpoint)
Adds an endpoint to this router |
void |
dispatch(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
|
int |
getEnableCorrelation()
|
List |
getEndpoints()
Gets a list of UMOEndpoint instances associated with this router |
PropertyExtractor |
getPropertyExtractor()
|
String |
getReplyTo()
Gets the replyTo endpoint for any outgoing messages. |
RouterStatistics |
getRouterStatistics()
|
UMOTransactionConfig |
getTransactionConfig()
|
boolean |
isDynamicEndpoints()
Determines whether this router supports dynamic endpoint. |
boolean |
removeEndpoint(UMOEndpoint endpoint)
Removes a specific endpoint from the router |
UMOMessage |
send(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
|
void |
setEnableCorrelation(int enableCorrelation)
|
void |
setEnableCorrelationAsString(String enableCorrelation)
|
void |
setEndpoints(List endpoints)
Sets a list of UMOEndpoint instances associated with this router |
protected void |
setMessageProperties(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
|
void |
setPropertyExtractor(PropertyExtractor propertyExtractor)
|
void |
setPropertyExtractorAsString(String className)
|
void |
setReplyTo(String replyTo)
Sets the replyTo endpoint for any outgoing messages. |
void |
setRouterStatistics(RouterStatistics routerStatistics)
|
void |
setTransactionConfig(UMOTransactionConfig transactionConfig)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mule.umo.routing.UMOOutboundRouter |
isMatch, route |
| Field Detail |
public static final int ENABLE_CORRELATION_IF_NOT_SET
public static final int ENABLE_CORRELATION_ALWAYS
public static final int ENABLE_CORRELATION_NEVER
protected transient Log logger
protected List endpoints
protected String replyTo
protected int enableCorrelation
protected PropertyExtractor propertyExtractor
protected RouterStatistics routerStatistics
protected UMOTransactionConfig transactionConfig
| Constructor Detail |
public AbstractOutboundRouter()
| Method Detail |
public void dispatch(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
throws UMOException
UMOException
public UMOMessage send(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
throws UMOException
UMOException
protected void setMessageProperties(UMOSession session,
UMOMessage message,
UMOEndpoint endpoint)
public List getEndpoints()
UMOOutboundRouter
getEndpoints in interface UMOOutboundRouterpublic void setEndpoints(List endpoints)
UMOOutboundRouter
setEndpoints in interface UMOOutboundRouterendpoints - a list of UMOEndpoint instancespublic void addEndpoint(UMOEndpoint endpoint)
UMOOutboundRouter
addEndpoint in interface UMOOutboundRouterendpoint - the endpoint to add to the routerpublic boolean removeEndpoint(UMOEndpoint endpoint)
UMOOutboundRouter
removeEndpoint in interface UMOOutboundRouterendpoint - the endpoint to remove
public String getReplyTo()
UMOOutboundRouter
getReplyTo in interface UMOOutboundRouterpublic void setReplyTo(String replyTo)
UMOOutboundRouter
setReplyTo in interface UMOOutboundRouterreplyTo - endpoint string to usepublic RouterStatistics getRouterStatistics()
getRouterStatistics in interface UMORouterpublic void setRouterStatistics(RouterStatistics routerStatistics)
setRouterStatistics in interface UMORouterpublic int getEnableCorrelation()
public void setEnableCorrelation(int enableCorrelation)
public void setEnableCorrelationAsString(String enableCorrelation)
public PropertyExtractor getPropertyExtractor()
public void setPropertyExtractor(PropertyExtractor propertyExtractor)
public void setPropertyExtractorAsString(String className)
public UMOTransactionConfig getTransactionConfig()
getTransactionConfig in interface UMOOutboundRouterpublic void setTransactionConfig(UMOTransactionConfig transactionConfig)
setTransactionConfig in interface UMOOutboundRouterpublic boolean isDynamicEndpoints()
UMOOutboundRouter
isDynamicEndpoints in interface UMOOutboundRouter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||