org.jboss.soa.esb.actions.routing
Class HttpRouter

java.lang.Object
  extended by org.jboss.soa.esb.actions.AbstractActionLifecycle
      extended by org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
          extended by org.jboss.soa.esb.actions.routing.HttpRouter
All Implemented Interfaces:
ActionLifecycle, ActionPipelineProcessor

Deprecated. HttpRouter can provide the same functionality and more.

@Deprecated
public class HttpRouter
extends AbstractActionPipelineProcessor

HttpRouter Action Processor. This ActionProcessor will forward the message to an url for further processing. If the routeUrl property is not set a default url will be used.

Sample Action Configuration:

    <Action class="org.jboss.soa.esb.actions.routing.HttpRouter">
        <property name="routeUrl" value="http://localhost:8888"</property>
    </Action>
 

Author:
Johan Kumps

Field Summary
 
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD
 
Constructor Summary
HttpRouter(ConfigTree configTree)
          Deprecated. Constructing a HttpRouter instance
 
Method Summary
 Message process(Message message)
          Deprecated. Perform the action processing on the specified message.
 
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
processException, processSuccess
 
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle
destroy, initialise
 
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, initialise
 

Constructor Detail

HttpRouter

public HttpRouter(ConfigTree configTree)
Deprecated. 
Constructing a HttpRouter instance

Parameters:
configTree - the configuration to use in this HttpRouter instance
Method Detail

process

public Message process(Message message)
                throws ActionProcessingException
Deprecated. 
Description copied from interface: ActionPipelineProcessor
Perform the action processing on the specified message. This method is invoked for each message passing throught the pipeline.

Parameters:
message - The current message being processed.
Returns:
The message to be passed to the next stage of the pipeline.
Throws:
ActionProcessingException - for errors during processing.