Hello
Thank you very much for your replies.
I need only a small confirmation. That all means that:
1. Non persisted messages are stored in the same persistent storage like
messages marked as persistent, when cache manager is out of memory
2. Messages marked as persistent can be both: in memory
JMS quarantees that a persistent message is either stored or you get
an error message.
The JBoss implementation looks like this (with some internal error handling
removed
and comments added in block captials):
| public class PersistentQueue extends org.jboss.mq.server.BasicQueue
| {
|
I don't think you understand how the MessageCache works.
It plays no part in storing Persistence Messages.
What it does do is to discard messages from memory (when memory is tight)
that it is sure are in persistence storage and reload them when they are needed.
That means it needs to store messag