| org.jboss.mq.pm.PersistenceManager
All known Subclasses: org.jboss.mq.pm.none.PersistenceManager, org.jboss.mq.pm.jdbc2.PersistenceManager,
PersistenceManager | public interface PersistenceManager (Code) | | This class allows provides the base for user supplied persistence packages.
author: Hiram Chirino (Cojonudo14@hotmail.com) author: Paul Kendall (paul.kendall@orion.co.nz) author: Adrian Brock version: $Revision: 57198 $ |
add | void add(MessageReference message, Tx txId) throws JMSException(Code) | | Add a message to the persistent store. If the message is part of a
transaction, txId is not null.
Parameters: message - the message Parameters: txId - the transaction throws: JMSException - for any error |
closeQueue | void closeQueue(JMSDestination jmsDest, SpyDestination dest) throws JMSException(Code) | | Close a queue
Parameters: jmsDest - the jms destination Parameters: dest - the client destination throws: JMSException - for any error |
commitPersistentTx | void commitPersistentTx(Tx txId) throws javax.jms.JMSException(Code) | | Commit the transaction to the persistent store.
Parameters: txId - Description of Parameter throws: JMSException - for any error |
createPersistentTx | Tx createPersistentTx() throws javax.jms.JMSException(Code) | | Create and return a unique transaction id.
the transaction throws: JMSException - for any error |
getMessageCacheInstance | MessageCache getMessageCacheInstance()(Code) | | Get the message cache
the instance of the message cache |
getTxManager | TxManager getTxManager()(Code) | | Get a transaction manager.
the transaction manager throws: JMSException - for any error |
remove | void remove(MessageReference message, Tx txId) throws JMSException(Code) | | Remove message from the persistent store. If the message is part of a
transaction, txId is not null.
Parameters: message - the message Parameters: txId - the transaction throws: JMSException - for any error |
restoreQueue | void restoreQueue(JMSDestination jmsDest, SpyDestination dest) throws JMSException(Code) | | Restore a queue.
Parameters: jmsDest - the jms destination Parameters: dest - the client destination throws: JMSException - for any error |
rollbackPersistentTx | void rollbackPersistentTx(Tx txId) throws javax.jms.JMSException(Code) | | Rollback the transaction.
Parameters: txId - Description of Parameter throws: JMSException - for any error |
update | void update(MessageReference message, Tx txId) throws JMSException(Code) | | Update message in the persistent store. If the message is part of a
transaction, txId is not null (not currently supported).
Parameters: message - Parameters: txId - Description of Parameter throws: JMSException - for any error |
|
|