Reputation: 6784
How would I know the maximum number of messages a JMS Queue can hold?
Regards Chaitanya
Upvotes: 0
Views: 1051
Reputation: 29240
You can't, based on the raw JMS API. Such functionality might be available in a particular vendor's implementation via auxiliary classes or JMX. For instance, Apache ActiveMQ has numerous classes to assist in interacting with the broker, beyond the basic API.
Upvotes: 1