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