This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Websphere and the fly likes Limit on number of JMS Q's on a single Bus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Limit on number of JMS Q Watch "Limit on number of JMS Q New topic

Limit on number of JMS Q's on a single Bus

Sai Swaminathan

Joined: Dec 11, 2008
Posts: 4

I am using JMS on WebSphere 6.1 through the Default Messaging Provider. This involved creating a Bus and an ActivationSpec.
I would be using 5 or 6 different Queues for my application. I would be having a similar number of MDBs - one for each of the Queues. I have configured a single Bus. All the Queues have been created and they all refer to the same Bus & Bus's Destination Queue.
I have read that multiple MDBs can use a single ActivationSpec. But I could not spot any reference that gives a recommendation about the limit on the number of Queues that can be created refering to the same Bus (and in turn refering to the same underlying Destination Queue). I expect the number of messages sent through each Queue to be around a max of 100. Each message would have only a light-weight object in it.
Is my approach described fine or should I create separate Destination Queues for each of the JMS Queues? Any recommendations? If there is any available refernce please pass it on.

- saig

As an aside: Don't you think WebSphere isn't particularly interested in making lives easier with every new version? I remember configuring JMS in WAS6.0. But that was sometime back. I realise now that this version requires additional configuration - all for a simple usage of its feature!

-----------------------------------<br />All truths are easy to understand once they are discovered; the point is to discover them.<br />- Galileo Galilei
Paul Clapham

Joined: Oct 14, 2005
Posts: 19728

Sai, please check your private messages for an important administrative matter. Thank you.
Sai Swaminathan

Joined: Dec 11, 2008
Posts: 4

I have been trying to find some reference material. Couldn't find anything till now.
Help, anyone?

I agree. Here's the link:
subject: Limit on number of JMS Q's on a single Bus
jQuery in Action, 3rd edition