|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Messaging
Run-Time Management of WebLogic Messaging Services
Reinforce your enterprise-messaging infrastructure
Oct. 8, 2005 03:00 PM
Digg This!
Page 2 of 2
« previous page
To ensure that everything works optimally, remember to configure appropriate redelivery limits and redelivery delays in your config.xml file by using the RedeliveryLimit and RedeliveryDelayOverride parameters, respectively. In addition to developing a message-management system, you should also consider building suitable monitoring tools that keep an eye on your destinations for you. The WebLogic console gives you most of the statistics you need, but there are many good reasons to make that data available from your own management system as well - you have more control that way and access to the console of a production system is usually restricted. Reading server statistics is remarkably straightforward through the Java Management Extensions (JMX) framework. By using JMX, you will always know what's going on inside your server, and JMS is just one of the many services that are easily monitored with it.
Using JMX for monitoring JMS destinations For retrieving JMS statistics, you first need to acquire JMS MBeans such as the weblogic.management.configuration.JMSQueueMBean and the weblogic.management.runtime.JMSDestinationRuntimeMBean for the destination you want to monitor. These two classes contain several accessor methods for looking up JMS statistics from the server. For instance, you can get the total number of bytes received by a destination or current number of bytes queued, just to name a few things. See the WebLogic documentation for details on how to acquire and use MBeans.
Conclusion Whatever your usage of enterprise messaging is, you need to prepare for complications. If you have strict requirements for data integrity, make sure you have proper monitoring in place and that you have a carefully thought out strategy for handling messaging problems, such as message processing failures. Appropriate tools are readily available and they are easy to use, so there is no excuse for being unprepared when you find yourself in a messaging mess. References
Page 2 of 2 « previous page
BEA WEBLOGIC LATEST STORIES
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING NEWS FROM THE WIRES
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||