|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.ContentBasedWiretap
org.jboss.soa.esb.actions.ContentBasedRouter
public class ContentBasedRouter
ContentBasedRouter implements the Content Based Routing pattern. It routes a message to one or more destination services based on the message content and the rule set it is evaluating it against.
For configuration details see
ContentBasedWiretap
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
_logger
|
Fields inherited from class org.jboss.soa.esb.actions.ContentBasedWiretap |
---|
_cbr, _cbrClass, _config, _destinations, _mapper, _messagePathList, _registry, _ruleLanguage, _ruleReload, _ruleSet, DEFAULT_CBR_CLASS, ENTRY_POINT, entryPointMap, messageMulticaster, OBJECT_PATH, OBJECT_PATH_TAG, ROUTE_TO_TAG |
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
Constructor Summary | |
---|---|
ContentBasedRouter(ConfigTree config)
|
Method Summary | |
---|---|
Message |
process(Message message)
Route the message to one or more destinations, using the ContentBasedRouter to figure out to which destinations it is going to be routed too. |
Message |
split(Message message)
Deprecated. no longer needed, leaving this in here for backwards compatibility, use the default "process". |
Methods inherited from class org.jboss.soa.esb.actions.ContentBasedWiretap |
---|
buildDestinationKey, checkMyParms, executeRules, initialise, routeMessage |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor |
---|
processException, processSuccess |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle |
---|
destroy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.soa.esb.actions.ActionLifecycle |
---|
destroy |
Field Detail |
---|
protected static final org.apache.log4j.Logger _logger
Constructor Detail |
---|
public ContentBasedRouter(ConfigTree config) throws ConfigurationException, RegistryException, MessageRouterException
ConfigurationException
RegistryException
MessageRouterException
Method Detail |
---|
public Message process(Message message) throws ActionProcessingException
process
in interface ActionPipelineProcessor
process
in class ContentBasedWiretap
message
-
ActionProcessingException
public Message split(Message message) throws ActionProcessingException
ActionProcessingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |