|
|||||||||
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.persistence.StoreMessage
public class StoreMessage
Action that stores the incoming message to a message store. The
messageStoreType
property indicates which message store to
use. If not specified, the default message store is used. If the property
value is 'database' or 'jcr', the indicated message store is used.
Alternatively, the URI for any other message store type can be passed as the
value.
Field Summary | |
---|---|
static java.lang.String |
INDICATOR_DATABASE
Constant that indicates the database datastore should be used |
static java.lang.String |
INDICATOR_JCR
Constant that indicates the JCR datastore should be used |
static java.lang.String |
MESSAGE_STORE_TYPE
Property that indicates the type of message store to be queried |
protected java.lang.String |
messageStoreType
Message store type indicator injected from bean config |
protected java.net.URI |
messageStoreTypeURI
URI that indicates message store type |
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
Constructor Summary | |
---|---|
StoreMessage()
|
Method Summary | |
---|---|
protected java.net.URI |
getMessageStoreTypeURI()
Attempts to load the URI for the message store type from the config tree. |
Message |
process(Message message)
Perform the action processing on the specified message. |
void |
setMessageStoreType(java.lang.String messageStoreType)
Message store type injected from bean configuartion. |
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 static final java.lang.String MESSAGE_STORE_TYPE
public static final java.lang.String INDICATOR_DATABASE
public static final java.lang.String INDICATOR_JCR
protected java.lang.String messageStoreType
protected java.net.URI messageStoreTypeURI
Constructor Detail |
---|
public StoreMessage()
Method Detail |
---|
public void setMessageStoreType(java.lang.String messageStoreType)
messageStoreType
- protected java.net.URI getMessageStoreTypeURI() throws ActionProcessingException
ActionProcessingException
public Message process(Message message) throws ActionProcessingException
ActionPipelineProcessor
process
in interface ActionPipelineProcessor
message
- The current message being processed.
ActionProcessingException
- for errors during processing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |