Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

13.3.16. PersistAction

Input Type Message
Output Type The input Message
Class org.jboss.soa.esb.actions.MessagePersister
This is used to interact with the MessageStore when necessary.

Table 13.10. PersistAction Properties

Property Description Required
classification
This is used to classify where the Message will be stored. If the Message Property org.jboss.soa.esb.messagestore.classification is defined on the message, it will be used instead. Otherwise, a default may be provided at instantiation time.
Yes
message-store-class
The implementation of the MessageStore.
Yes
terminal
If the Action is to be used to terminate a pipeline then this should be "true" (the default). If not, then set this to "false" and the input message will be returned from processing.
No
<action name="PersistAction" class="org.jboss.soa.esb.actions.MessagePersister">
    <property name="classification" value="test"/>
    <property name="message-store-class" 
        value="org.jboss.internal.soa.esb.persistence.format.db.DBMessageStoreImpl"/>
</action>