|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.actions.routing.HttpRouter
public class HttpRouter
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>
| Constructor Summary | |
|---|---|
HttpRouter(ConfigTree configTree)
Constructing a HttpRouter instance |
|
| Method Summary | |
|---|---|
java.io.Serializable |
getErrorNotification(Message message)
Get the "Error" notification message for this processor. |
java.io.Serializable |
getOkNotification(Message message)
Get the "OK" notification message for this processor. |
Message |
process(Message message)
Perform the processing action on the message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRouter(ConfigTree configTree)
configTree - the configuration to use in this HttpRouter instance| Method Detail |
|---|
public Message process(Message message)
throws ActionProcessingException
ActionProcessor
process in interface ActionProcessormessage - The message to be processed.
ActionProcessingException - Exception during payload processing.public java.io.Serializable getOkNotification(Message message)
ActionProcessor
getOkNotification in interface ActionProcessormessage - The message Object.
public java.io.Serializable getErrorNotification(Message message)
ActionProcessor
getErrorNotification in interface ActionProcessormessage - The message Object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||