public Object handle(org.jgroups.Message jmessage)
{
Message message = (Message)jmessage.getObject();
String handlerId = message.getTargetHandler();
MessageHandler handler = (MessageHandler)messageHandlers_.get(handlerId);
MessageHandlerMonitor monitor = handler.getMonitor();
if (handler != null)
{
try
{
monitor.addMessageCounter(1);
return handler.handle(message);
}
catch (Exception ex)
{
monitor.setLastError(ex);
LOG.error("Error :", ex);