Message message = (Message) digester.getRoot();
String repl = attributes.getValue("search");
String with = attributes.getValue("replace");
String text = message.getText();
String translated =
StringUtils.replace( text, repl, with );
message.setText( translated );