|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adapter to the actual persistence mechanism used with ActiveMQ
Method Summary | |
void |
beginTransaction()
This method starts a transaction on the persistent storage - which is nothing to do with JMS or XA transactions - its purely a mechanism to perform multiple writes to a persistent store in 1 transaction as a performance optimisation. |
void |
commitTransaction()
Commit a persistence transaction |
PreparedTransactionStore |
createPreparedTransactionStore()
Factory method to create a new persistent prepared transaction store for XA recovery |
QueueMessageContainer |
createQueueMessageContainer(String destinationName)
Factory method to create a new durable queue based message contaienr |
MessageStore |
createQueueMessageStore(String destinationName)
Factory method to create a new queue message store with the given destination name |
TopicMessageContainer |
createTopicMessageContainer(String destinationName)
Factory method to create a new durable topic based message container |
TopicMessageStore |
createTopicMessageStore(String destinationName)
Factory method to create a new topic message store with the given destination name |
Map |
getInitialDestinations()
Returns a map, indexed by String name, of all the Destination
objects active on startup. |
void |
rollbackTransaction()
Rollback a persistence transaction |
Methods inherited from interface org.codehaus.activemq.service.Service |
start, stop |
Method Detail |
public Map getInitialDestinations()
Destination
objects active on startup.
public MessageStore createQueueMessageStore(String destinationName) throws JMSException
JMSException
public TopicMessageStore createTopicMessageStore(String destinationName) throws JMSException
JMSException
public PreparedTransactionStore createPreparedTransactionStore() throws JMSException
JMSException
public QueueMessageContainer createQueueMessageContainer(String destinationName) throws JMSException
JMSException
public TopicMessageContainer createTopicMessageContainer(String destinationName) throws JMSException
JMSException
public void beginTransaction() throws JMSException
JMSException
public void commitTransaction() throws JMSException
JMSException
beginTransaction()
public void rollbackTransaction()
beginTransaction()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |