|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.AbstractActionLifecycle org.jboss.soa.esb.actions.AbstractActionPipelineProcessor org.jboss.soa.esb.actions.routing.AbstractRouter
public abstract class AbstractRouter
Abstract router.
Handles unwrapping of the message payload (if required) before routing. To turn on unwrapping, supply an "unwrap" property with a value of "true" (default "false").
Field Summary | |
---|---|
protected MessagePayloadProxy |
payloadProxy
|
boolean |
unwrap
Unwrap the message payload before routing. |
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
Constructor Summary | |
---|---|
AbstractRouter(ConfigTree config)
Public constructor. |
Method Summary | |
---|---|
MessagePayloadProxy |
getPayloadProxy()
|
Message |
process(Message message)
Perform the action processing on the specified message. |
abstract void |
route(java.lang.Object object)
Route the message or message payload. |
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 |
Field Detail |
---|
public boolean unwrap
protected MessagePayloadProxy payloadProxy
Constructor Detail |
---|
public AbstractRouter(ConfigTree config) throws ConfigurationException
config
- Action config.
ConfigurationException
- Queue name not configured.
javax.jms.JMSException
- Unable to configure JMS destination.
javax.naming.NamingException
- Unable to configure JMS destination.Method Detail |
---|
public Message process(Message message) throws ActionProcessingException
ActionPipelineProcessor
message
- The current message being processed.
ActionProcessingException
- for errors during processing.public MessagePayloadProxy getPayloadProxy()
public abstract void route(java.lang.Object object) throws ActionProcessingException
object
- The object to route.
ActionProcessingException
- Exception during routing operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |