|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class allows provides the base for user supplied persistence packages.
Method Summary | |
void |
add(MessageReference message,
Tx txId)
Add a message to the persistent store. |
void |
closeQueue(JMSDestination jmsDest,
SpyDestination dest)
Close a queue |
void |
commitPersistentTx(Tx txId)
Commit the transaction to the persistent store. |
Tx |
createPersistentTx()
Create and return a unique transaction id. |
MessageCache |
getMessageCacheInstance()
Get the message cache |
TxManager |
getTxManager()
Get a transaction manager. |
void |
remove(MessageReference message,
Tx txId)
Remove message from the persistent store. |
void |
restoreQueue(JMSDestination jmsDest,
SpyDestination dest)
Restore a queue. |
void |
rollbackPersistentTx(Tx txId)
Rollback the transaction. |
void |
update(MessageReference message,
Tx txId)
Update message in the persistent store. |
Method Detail |
public MessageCache getMessageCacheInstance()
public Tx createPersistentTx() throws javax.jms.JMSException
javax.jms.JMSException
- for any errorpublic void commitPersistentTx(Tx txId) throws javax.jms.JMSException
txId
- Description of Parameter
javax.jms.JMSException
- for any errorpublic void rollbackPersistentTx(Tx txId) throws javax.jms.JMSException
txId
- Description of Parameter
javax.jms.JMSException
- for any errorpublic TxManager getTxManager()
javax.jms.JMSException
- for any errorpublic void add(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- the messagetxId
- the transaction
javax.jms.JMSException
- for any errorpublic void restoreQueue(JMSDestination jmsDest, SpyDestination dest) throws javax.jms.JMSException
jmsDest
- the jms destinationdest
- the client destination
javax.jms.JMSException
- for any errorpublic void update(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- txId
- Description of Parameter
javax.jms.JMSException
- for any errorpublic void remove(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- the messagetxId
- the transaction
javax.jms.JMSException
- for any errorpublic void closeQueue(JMSDestination jmsDest, SpyDestination dest) throws javax.jms.JMSException
jmsDest
- the jms destinationdest
- the client destination
javax.jms.JMSException
- for any error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |