problems with DurableSubscribersand the getDurableConsumerMessageCount() in NON PERSISTENT MODE
"bruno Marcon" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <005001c58706$4ae43330$6502a8c0@PROPRIO8CRO35Z> |
Hi, i have some trouble to get the message on the server not yet retrieved by the subscribers. I normally do this in using the getDurableConsumerMessageCount() method, that return me the numbers of messages not read for a subscriber. But the messages are not sended in persistant mode, no message are in the server, and further more, my durable subscriber that is not running will not have the message when i will launch it, because they are immediately destroyed. I send the messages with a live time infinite, to ensure they will not be destroyed. My problem is that the persistent mode is too much long and our system use a lot of machines and send a huge number of messages (and in persistent mode, the system can not run). Is somebody can help me please ? i would like to use a durable subscriber in non-persistant-mode, AND get the messages not read by these subscriber.