If you don't want the transformation result to be placed in the "defaultEntry", use the "output-location" property.
So, an example... to set the transformation result in a Message.Body location called "my-transform", you specify the "output-location" property as:
<property name="output-location" value="my-transform" />
String transformResult = (String) message.getBody().get("my-transform");
String transformResult = (String) message.getBody().get();
String transformResult = (String) message.getBody().get("defaultEntry");
Thanks. That's what I ended up doing (message.getBody().get() - Appreciate your help