[jboss-user] [JBoss Messaging] - All messages are not persisted in Database.

sajankn do-not-reply at jboss.com
Wed Jul 16 17:41:11 EDT 2008


Versions:
JBoss AS : 4.2.2.GA
JBM : 1.4.0.SP3
Java : 1.5.0_13
OS : Mac OSX Server 10.5.2
DB : Oracle 10g

Setup:
I'm doing the stress test on JBM. The following is the setup:

AS with JBM - 2 (Both are up and running).
Publisher - 5 (Each Publishing 1000 messages simultaneously). Runs in an independent JVM.
Subscriber - 1. Runs in an independent JVM. (Its a Durable Subscriber)

Scenario:
I run the Publisher. Total 5000 messages are published by the subscriber. But only 4000 are persisted to Database. So when I run the Subscriber only 400 messages are consumed.

This happens only during the first run. For the subsequent runs, all the messages are persisted and can be consumed by the subscriber.

This scenario is repeatable.

How do I make sure that I do not lose any messages even during the first run.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164861#4164861

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164861



More information about the jboss-user mailing list