How to pass Java object to a Java function in mule
问题 I am trying to invoke a java function in mule.I converted the payload into the Object and passed it in the function. The name of the Java object created is req . The method validate accepts a Java Object Of type Example public HashMap<String, String> validate(Example req) {.......} Example class looks like this: Class Example{ String key1; String key2; String key3; } XML configuration looks like this : <java:new constructor="Example(java.lang.String,java.lang.String,java.lang.String)" doc