|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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 | |
---|---|
boolean |
unwrap
Unwrap the message payload before routing. |
Constructor Summary | |
---|---|
AbstractRouter(java.lang.String actionName,
java.util.List<KeyValuePair> properties)
Public constructor. |
Method Summary | |
---|---|
Message |
process(Message message)
Perform the processing action on the message |
abstract void |
route(java.lang.Object object)
Route the message or message payload. |
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.ActionProcessor |
---|
getErrorNotification, getOkNotification |
Field Detail |
---|
public boolean unwrap
Constructor Detail |
---|
public AbstractRouter(java.lang.String actionName, java.util.List<KeyValuePair> properties) throws ConfigurationException
actionName
- Action name.properties
- Action properties.
ConfigurationException
- Queue name not configured.
javax.jms.JMSException
- Unable to configure JMS destination.
javax.naming.NamingException
- Unable to configure JMS destination.Method Detail |
---|
public final Message process(Message message) throws ActionProcessingException
ActionProcessor
process
in interface ActionProcessor
message
- The message to be processed.
ActionProcessingException
- Exception during payload processing.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 |