return null;
}
// convert to a more user friendly string
// accept messageDetails (if any) so we can append info if needed
MessageTransformerResult messageTransformerResult =
SobaMessageTransformerFactory.transformMessage(event, type, details, messageProperties);
// plain text
String transformedMessage = messageTransformerResult.getTransformedMessage();
// embed the rich formatted message in the soba object
SobaMessageDetails sobaMessageDetails = messageTransformerResult.getMessageDetails();
SobaMessage message = new SobaMessage.Builder()
.sender(sender)
.dateGenerated(dateGenerated)
.type(type)