On 9 Jul 2008, at 12:24, replyramdas wrote:


Hi,
     I am newbi to Apache ActiveMQ, this is my first post. Can i
configure/create a Topic to receive a specified number of JMS messages ? lets say it should only have 100 messages at a time. If it receives more than 100, i should get a notification. Probably i will get JMSException. If
this is true, can i know if this JMSException is due to maximum Topic
capacity is reached ? Thanks in advance
--
View this message in context: 
http://www.nabble.com/Topic-configuration-tp18359368p18359368.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


I would look at using a JMX CounterMonitor - see 
http://java.sun.com/j2ee/1.4/docs/api/javax/management/monitor/CounterMonitor.html
  - ActiveMQ provides JMX for its to its internals - see 
http://activemq.apache.org/jmx.html

cheers,

Rob




Rob Davies
'Go further faster with Apache Camel!'
http://rajdavies.blogspot.com/



Reply via email to