server.setAttribute(on, attribute);
System.out.println((String)message.getBody().get());
}
catch (final MalformedObjectNameException mone)
{
throw new ActionProcessingException("Error creating MBean proxy", mone) ;
} catch (InstanceNotFoundException infe)
{
throw new ActionProcessingException("Instance not found", infe);
} catch (AttributeNotFoundException anfe)
{
throw new ActionProcessingException("Message attribute not found", anfe);
} catch (Exception e) {
throw new ActionProcessingException("Exception caught", e);
}
return message;
}