[ openjms-Bugs-971254 ] Messages lost perhaps !?

"SourceForge.net" <[email protected]> Tue, 30 Aug 2005 23:10:03 -0700
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #971254, was opened at 2004-06-12 02:27
Message generated for change (Comment added) made by tanderson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=971254&group_id=54559

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: client
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: FrESh (frezh)
>Assigned to: Tim Anderson (tanderson)
Summary: Messages lost perhaps !?

Initial Comment:

Ok, here is the narrative of the thing:

OpenJMS Initial Satate:
Idle, for more then 15 hrs, last time it was used it
feeled slower than usual.
4 threads publishing 2500 persistent messages each at
the same time, to the same topic (Topic A).
1 consumer waiting to read persistent messages on Topic B.
Using MySQL.

After some seconds, of the 4 threads had started, and
before they have finished, a consumer started, this was
suposed to receive persistant messages from Topic A,
modify them and publish them in a multithreaded (10
threads) fashion to Topic B. But it didnt worked !!!

It only works when Topic A consumer is plugged before
the 4 publishing threads had started.

Wel... Is this a Bug or I'm just doing something wrong,
I'm using durable subscriptions btw.


----------------------------------------------------------------------

>Comment By: Tim Anderson (tanderson)
Date: 2005-08-31 16:10

Message:
Logged In: YES 
user_id=557161

Closing this. Reopen if its still an issue.

----------------------------------------------------------------------

Comment By: Tim Anderson (tanderson)
Date: 2004-06-30 12:09

Message:
Logged In: YES 
user_id=557161

Make sure each Session instance is only being accessed by a 
single thread of control. It is a programming error to use 
multiple producers/consumers on a single Session from 
multiple threads.

----------------------------------------------------------------------

Comment By: Tim Anderson (tanderson)
Date: 2004-06-30 12:07

Message:
Logged In: YES 
user_id=557161

Make sure each Session instance is only being accessed by a 
single thread of control. It is a programming error to use 
multiple producers/consumers on a single Session from 
multiple threads.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=971254&group_id=54559


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf