|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a message store which is used by the persistent MessageContainer
implementations
Method Summary | |
void |
addMessage(ActiveMQMessage message)
Adds a message to the message store |
ActiveMQMessage |
getMessage(MessageIdentity identity)
Looks up a message using either the String messageID or the messageNumber. |
void |
recover(RecoveryListener container)
Recover any messages to be delivered. |
void |
removeAllMessages()
Removes all the messages from the message store. |
void |
removeMessage(MessageAck ack)
Removes a message from the message store. |
Methods inherited from interface org.activemq.service.Service |
start, stop |
Method Detail |
public void addMessage(ActiveMQMessage message) throws JMSException
JMSException
public ActiveMQMessage getMessage(MessageIdentity identity) throws JMSException
identity
- which contains either the messageID or the messageNumber
JMSException
public void removeMessage(MessageAck ack) throws JMSException
ack
- the ack request that cause the message to be removed. It conatins
the identity which contains the messageID of the message that needs to be removed.
JMSException
public void removeAllMessages() throws JMSException
JMSException
public void recover(RecoveryListener container) throws JMSException
container
-
JMSException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |