org.jboss.soa.esb.actions
Class ContentBasedRouter

java.lang.Object
  extended by org.jboss.soa.esb.actions.ContentBasedRouter

public class ContentBasedRouter
extends java.lang.Object


Field Summary
protected  ConfigTree _config
           
protected  java.util.Map<java.lang.String,java.lang.String[]> _destinations
           
protected static org.apache.log4j.Logger _logger
           
protected  Registry _registry
           
static java.lang.String ROUTE_TO_TAG
           
 
Constructor Summary
ContentBasedRouter(ConfigTree config)
           
 
Method Summary
protected  void checkMyParms()
           
 Message process(Message message)
           
 Message split(Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROUTE_TO_TAG

public static final java.lang.String ROUTE_TO_TAG
See Also:
Constant Field Values

_config

protected ConfigTree _config

_destinations

protected java.util.Map<java.lang.String,java.lang.String[]> _destinations

_registry

protected Registry _registry

_logger

protected static org.apache.log4j.Logger _logger
Constructor Detail

ContentBasedRouter

public ContentBasedRouter(ConfigTree config)
                   throws ConfigurationException,
                          RegistryException,
                          MessageRouterException
Throws:
ConfigurationException
RegistryException
MessageRouterException
Method Detail

process

public Message process(Message message)
                throws MalformedEPRException,
                       RegistryException,
                       CourierException,
                       MessageRouterException
Throws:
MalformedEPRException
RegistryException
CourierException
MessageRouterException

split

public Message split(Message message)
              throws MalformedEPRException,
                     RegistryException,
                     CourierException,
                     MessageRouterException
Throws:
MalformedEPRException
RegistryException
CourierException
MessageRouterException

checkMyParms

protected void checkMyParms()
                     throws ConfigurationException
Throws:
ConfigurationException