|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.routing.response.AbstractResponseRouter
AbstractResponseRouter is a base class for all Response Routers
| Field Summary | |
protected PropertyExtractor |
correlationExtractor
|
protected Log |
logger
|
| Constructor Summary | |
AbstractResponseRouter()
|
|
| Method Summary | |
protected Object |
getCallResponseAggregateIdentifier(UMOMessage message)
Extracts a Group identifier from the current event. |
PropertyExtractor |
getCorrelationExtractor()
|
protected Object |
getReplyAggregateIdentifier(UMOMessage message)
Extracts a 'Correlation Id' from a reply message. |
RouterStatistics |
getRouterStatistics()
|
int |
getTimeout()
Returns the timeout delay that the response router should wait for a response for a given event. |
void |
setCorrelationExtractor(PropertyExtractor correlationExtractor)
|
void |
setPropertyExtractorAsString(String className)
A digester callback to configure a custom correlation extractor. |
void |
setRouterStatistics(RouterStatistics routerStatistics)
|
void |
setTimeout(int timeout)
Sets the timeout delay that the response router should wait for a response for a given event. |
| 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.UMOResponseRouter |
getResponse, process |
| Field Detail |
protected final transient Log logger
protected PropertyExtractor correlationExtractor
| Constructor Detail |
public AbstractResponseRouter()
| Method Detail |
public RouterStatistics getRouterStatistics()
getRouterStatistics in interface UMORouterpublic void setRouterStatistics(RouterStatistics routerStatistics)
setRouterStatistics in interface UMORouterpublic PropertyExtractor getCorrelationExtractor()
public void setCorrelationExtractor(PropertyExtractor correlationExtractor)
public void setPropertyExtractorAsString(String className)
className - correlation extractor fully qualified class namepublic int getTimeout()
UMOResponseRouter
getTimeout in interface UMOResponseRouterpublic void setTimeout(int timeout)
UMOResponseRouter
setTimeout in interface UMOResponseRoutertimeout - the time in milliseconds to wait for a response eventprotected Object getReplyAggregateIdentifier(UMOMessage message)
message - a received reply message
protected Object getCallResponseAggregateIdentifier(UMOMessage message)
message - A response messages received on the response router endpoint
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||