[jbossws-dev] [Design of JBoss Web Services] - dump message logging based on Mbean

maeste do-not-reply at jboss.com
Thu Aug 9 05:12:35 EDT 2007


Looking at some issues about redirection of message logging made by cxf or metro, I thought that these feature can be ignored in favor of a more general message dumping. With this approach we would have an unique configuration (independent from the stack) to enable message dumping, we would have message dumping also for native stack, and moreover we can made something more sophisticated than simple dumping (for example start and stopping dynamically, or saving somewhere messages for a time frame to analyze it).

My idea is to make an MBean doing the job (receiving servlet request response, logging messages, eventually making something more with them) invoked by RequestHandler. Of course RequestHandler have to become an abstract class (now it is an interface) and some refactoring is needed.
Moreover users have a single configuration to change to dump messages not depending from the stack used, and the behaviour can be changed runtime from jmx-console.

Any opinion about? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072382#4072382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072382



More information about the jbossws-dev mailing list