|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageIdentity | |
org.codehaus.activemq.message | Message implementations |
org.codehaus.activemq.service | The core services which make up the JMS Message Broker such as the Store, MessageContainer and MessageContainerManager |
org.codehaus.activemq.service.boundedvm | |
org.codehaus.activemq.service.impl | Default implementations of the services |
org.codehaus.activemq.store | The APIs which need to be implemented for persistent message stores for durable messaging |
org.codehaus.activemq.store.cache | |
org.codehaus.activemq.store.vm | VM based implementation of message persistence |
Uses of MessageIdentity in org.codehaus.activemq.message |
Methods in org.codehaus.activemq.message that return MessageIdentity | |
MessageIdentity |
ActiveMQMessage.getJMSMessageIdentity()
|
MessageIdentity |
MessageAck.getMessageIdentity()
|
Methods in org.codehaus.activemq.message with parameters of type MessageIdentity | |
void |
ActiveMQMessage.setJMSMessageIdentity(MessageIdentity messageIdentity)
|
Uses of MessageIdentity in org.codehaus.activemq.service |
Methods in org.codehaus.activemq.service that return MessageIdentity | |
MessageIdentity |
Subscription.getLastMessageIdentity()
Retreives the messageIdentity of the last message sent to this Queue based Subscription |
MessageIdentity |
MessageContainer.addMessage(ActiveMQMessage msg)
Add an ActiveMQMessage to the message container |
Methods in org.codehaus.activemq.service with parameters of type MessageIdentity | |
void |
Subscription.setLastMessageIdentifier(MessageIdentity messageIdentity)
Used for a Queue based Subscription to set the last acknowledged message ID |
boolean |
MessageIdentity.equals(MessageIdentity that)
|
ActiveMQMessage |
QueueMessageContainer.peekNext(MessageIdentity messageIdentity)
Used for browsing a MessageContainer this returns the next message in the container after the messageId |
void |
QueueMessageContainer.returnMessage(MessageIdentity messageIdentity)
After a poll() on the Container, if a message can't be dispatched, it is returned |
void |
QueueMessageContainer.recoverMessageToBeDelivered(MessageIdentity messageIdentity)
Invoked during the recovery to add the given message to the end of the messages to be delivered. |
void |
TopicMessageContainer.setLastAcknowledgedMessageID(Subscription subscription,
MessageIdentity messageIdentity)
Sets the last acknowleged message ID for the given subscriber in this container so that if we shut down and recover we know where to start replaying messages from. |
void |
MessageContainer.delete(MessageIdentity messageIdentity,
MessageAck ack)
Delete a message - if no |
ActiveMQMessage |
MessageContainer.getMessage(MessageIdentity messageIdentity)
Return the ActiveMQMessage that matches the Id |
void |
MessageContainer.registerMessageInterest(MessageIdentity messageIdentity)
Register that a consumer will be interested in this message |
void |
MessageContainer.unregisterMessageInterest(MessageIdentity messageIdentity,
MessageAck ack)
A message consumer calls this when it's no longer interested in a message so that we know when we can delete (or archive) it |
boolean |
MessageContainer.containsMessage(MessageIdentity messageIdentity)
Returns whether or not this container contains the given message identity which provides an optimisation over getMessage() where the message does not need to be loaded. |
Uses of MessageIdentity in org.codehaus.activemq.service.boundedvm |
Methods in org.codehaus.activemq.service.boundedvm that return MessageIdentity | |
MessageIdentity |
TransientQueueBoundedMessageContainer.addMessage(ActiveMQMessage msg)
|
MessageIdentity |
TransientTopicBoundedMessageContainer.addMessage(ActiveMQMessage msg)
|
Methods in org.codehaus.activemq.service.boundedvm with parameters of type MessageIdentity | |
void |
TransientQueueBoundedMessageContainer.delete(MessageIdentity messageIdentity,
MessageAck ack)
|
ActiveMQMessage |
TransientQueueBoundedMessageContainer.getMessage(MessageIdentity messageIdentity)
|
void |
TransientQueueBoundedMessageContainer.registerMessageInterest(MessageIdentity messageIdentity)
|
void |
TransientQueueBoundedMessageContainer.unregisterMessageInterest(MessageIdentity messageIdentity,
MessageAck ack)
|
boolean |
TransientQueueBoundedMessageContainer.containsMessage(MessageIdentity messageIdentity)
|
void |
TransientTopicBoundedMessageContainer.delete(MessageIdentity messageIdentity,
MessageAck ack)
|
ActiveMQMessage |
TransientTopicBoundedMessageContainer.getMessage(MessageIdentity messageIdentity)
|
void |
TransientTopicBoundedMessageContainer.registerMessageInterest(MessageIdentity messageIdentity)
|
void |
TransientTopicBoundedMessageContainer.unregisterMessageInterest(MessageIdentity messageIdentity,
MessageAck ack)
|
boolean |
TransientTopicBoundedMessageContainer.containsMessage(MessageIdentity messageIdentity)
|
Uses of MessageIdentity in org.codehaus.activemq.service.impl |
Methods in org.codehaus.activemq.service.impl that return MessageIdentity | |
MessageIdentity |
DurableQueueMessageContainer.addMessage(ActiveMQMessage message)
|
MessageIdentity |
SubscriptionImpl.getLastMessageIdentity()
|
MessageIdentity |
DurableTopicMessageContainer.addMessage(ActiveMQMessage message)
|
Methods in org.codehaus.activemq.service.impl with parameters of type MessageIdentity | |
void |
DurableQueueMessageContainer.delete(MessageIdentity messageID,
MessageAck ack)
|
ActiveMQMessage |
DurableQueueMessageContainer.getMessage(MessageIdentity messageID)
|
boolean |
DurableQueueMessageContainer.containsMessage(MessageIdentity messageIdentity)
|
void |
DurableQueueMessageContainer.registerMessageInterest(MessageIdentity messageIdentity)
Does nothing since when we receive an acknowledgement on a queue we can delete the message |
void |
DurableQueueMessageContainer.unregisterMessageInterest(MessageIdentity messageIdentity,
MessageAck ack)
Does nothing since when we receive an acknowledgement on a queue we can delete the message |
ActiveMQMessage |
DurableQueueMessageContainer.peekNext(MessageIdentity messageID)
|
void |
DurableQueueMessageContainer.returnMessage(MessageIdentity messageIdentity)
|
void |
DurableQueueMessageContainer.recoverMessageToBeDelivered(MessageIdentity messageIdentity)
|
void |
SubscriptionImpl.setLastMessageIdentifier(MessageIdentity messageIdentity)
|
void |
DurableTopicMessageContainer.delete(MessageIdentity messageID,
MessageAck ack)
|
boolean |
DurableTopicMessageContainer.containsMessage(MessageIdentity messageIdentity)
|
ActiveMQMessage |
DurableTopicMessageContainer.getMessage(MessageIdentity messageID)
|
void |
DurableTopicMessageContainer.registerMessageInterest(MessageIdentity messageIdentity)
|
void |
DurableTopicMessageContainer.unregisterMessageInterest(MessageIdentity messageIdentity,
MessageAck ack)
|
void |
DurableTopicMessageContainer.setLastAcknowledgedMessageID(Subscription subscription,
MessageIdentity messageIdentity)
|
Uses of MessageIdentity in org.codehaus.activemq.store |
Methods in org.codehaus.activemq.store that return MessageIdentity | |
MessageIdentity |
MessageStore.addMessage(ActiveMQMessage message)
Adds a message to the message store |
MessageIdentity |
TopicMessageStore.getLastestMessageIdentity()
Returns the last message identity that was delivered on this container which can then be used as a checkpoint so that when new durable consumers start, we know where to checkpoint their subscriptions. |
Methods in org.codehaus.activemq.store with parameters of type MessageIdentity | |
ActiveMQMessage |
MessageStore.getMessage(MessageIdentity identity)
Looks up a message using either the String messageID or the messageNumber. |
void |
MessageStore.removeMessage(MessageIdentity identity,
MessageAck ack)
Removes a message from the message store. |
void |
TopicMessageStore.incrementMessageCount(MessageIdentity messageId)
Increments the reference count of the message ID as its been dispatched to another subscriber. |
void |
TopicMessageStore.decrementMessageCountAndMaybeDelete(MessageIdentity messageIdentity,
MessageAck ack)
Decrement the reference count of this message ID and if there are no more references then delete the message from persistent store (or maybe archive it off somewhere) |
void |
TopicMessageStore.setLastAcknowledgedMessageIdentity(Subscription subscription,
MessageIdentity messageIdentity)
Stores the last acknowledged messgeID for the given subscription so that we can recover and commence dispatching messages from the last checkpoint |
void |
TopicMessageStore.recoverSubscription(Subscription subscription,
MessageIdentity lastDispatchedMessage)
For the new subcription find the last acknowledged message ID and then find any new messages since then and dispatch them to the subscription. |
Uses of MessageIdentity in org.codehaus.activemq.store.cache |
Methods in org.codehaus.activemq.store.cache that return MessageIdentity | |
MessageIdentity |
CacheTopicMessageStore.getLastestMessageIdentity()
|
MessageIdentity |
CacheMessageStore.addMessage(ActiveMQMessage message)
Add the meessage to the long term store and cache it. |
Methods in org.codehaus.activemq.store.cache with parameters of type MessageIdentity | |
void |
CacheTopicMessageStore.setLastAcknowledgedMessageIdentity(Subscription subscription,
MessageIdentity messageIdentity)
|
void |
CacheTopicMessageStore.recoverSubscription(Subscription subscription,
MessageIdentity lastDispatchedMessage)
|
void |
CacheTopicMessageStore.incrementMessageCount(MessageIdentity messageId)
|
void |
CacheTopicMessageStore.decrementMessageCountAndMaybeDelete(MessageIdentity messageIdentity,
MessageAck ack)
|
void |
CacheMessageStore.removeMessage(MessageIdentity identity,
MessageAck ack)
Remove the meessage to the long term store and remove it from the cache. |
ActiveMQMessage |
CacheMessageStore.getMessage(MessageIdentity identity)
Return the message from the cache or go to the longTermStore if it is not in there. |
Uses of MessageIdentity in org.codehaus.activemq.store.vm |
Methods in org.codehaus.activemq.store.vm that return MessageIdentity | |
MessageIdentity |
VMTopicMessageStore.getLastestMessageIdentity()
|
MessageIdentity |
VMMessageStore.addMessage(ActiveMQMessage message)
|
Methods in org.codehaus.activemq.store.vm with parameters of type MessageIdentity | |
void |
VMTopicMessageStore.incrementMessageCount(MessageIdentity messageId)
|
void |
VMTopicMessageStore.decrementMessageCountAndMaybeDelete(MessageIdentity messageIdentity,
MessageAck ack)
|
void |
VMTopicMessageStore.setLastAcknowledgedMessageIdentity(Subscription subscription,
MessageIdentity messageIdentity)
|
void |
VMTopicMessageStore.recoverSubscription(Subscription subscription,
MessageIdentity lastDispatchedMessage)
|
ActiveMQMessage |
VMMessageStore.getMessage(MessageIdentity identity)
|
void |
VMMessageStore.removeMessage(MessageIdentity identity,
MessageAck ack)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |