Feature Requests item #949365, was opened at 2004-05-06 11:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=949365&group_id=22866

Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: D. A. Rickard (drickard)
Assigned to: Nobody/Anonymous (nobody)
Summary: message delivery algorithm config

Initial Comment:
It would be great to have the option to be able to 
configure how messages are distributed to message 
consumers. 

I'm running 3.2.4RC2 in the HA configuration with MSSQL 
persistence on Windows 2000. Our messages are 
consumed by multi-threaded client apps running outside 
of JBoss. On each client, all threads share a connection, 
but each has its own session. 

I was seeing that all messages were being sent to one 
consumer when the queue depth was <= 1, but they 
would be sent to multiple consumers if there happened 
to be more than one message in the queue at once. 
This is not really a problem, but I was expecting the 
messages to be round-robin'd to all consumers. 

I read the thread specified here... 
http://www.jboss.org/index.html?
module=bb&op=viewtopic&t=48400 ... and went ahead 
and modified BasicQueue.java to use an ArrayList for the 
receivers. That seems to have solved my "problem" by 
round-robining the messages to the various threads and 
their queue sessions. 

My request is to add the ability to configure message 
delivery algorithms from a configuration file rather than 
having ot modify the source. For example, perhaps in 
the jbossmq-destinations-service.xml file there could be 
a parameter to specify "round-robin", or "least active" 
or "random", etc.

Please see the thread below for more discussion:
http://www.jboss.org/index.html?
module=bb&op=viewtopic&p=3833965#3833965

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=949365&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to