tags:

views:

87

answers:

1

Hello there,

How would I know the maximum number of messages a JMS Queue can hold?

Regards Chaitanya

A: 

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.

Jherico