Created
July 8, 2016 11:31
-
-
Save mariomartinezricston/06bbbd83b2c13c468e4918d116f974d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AnimalTransformer extends AbstractMessageTransformer{ | |
public Object transformMessage(MuleMessage message, String outputEncoding) throws TransformerException { | |
String flowVarName = message.getProperty("flowVarName", PropertyScope.INVOCATION); | |
Animal animal=new Animal(flowVarName); | |
return animal; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment