Hello. Its the JMS lowbrow again - although I have provided some answer's to my 
previous questions. Hopefully this is a little more interesting.

How do I get one MDB to act as a receiver for multiple queues. I have a high priority 
queue and a low priority queue. I want to limit the number of instances of my MDB 
serving my low priority queue to, for example, 1. On the high priority queue I would 
like to set the number of MDB's to 15. Now, I have figured out how to control the 
number of MDB instances (see my other posts), but the way I have currently defined the 
receivers does not seem to be working (the MDB is bound to the last entry in the list 
of queues):


  |       <message-driven>
  |          <ejb-name>generator</ejb-name>
  |          <destination-jndi-name>queue/eventSMS</destination-jndi-name>
  |       </message-driven>
  |       <message-driven>
  |          <ejb-name>generator</ejb-name>
  |          <destination-jndi-name>queue/eventMail</destination-jndi-name>
  |       </message-driven>
  | 

I am aware that one could solve this by adjusting the priority of the messages. But I 
would like to be able to control the priorities independently of the messages, and 
from the server, not from the client applications.

Thanks in advance.

renen.


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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to