/** * This file was automatically generated by the Mule Development Kit */ #set($D='$') #set($moduleNameLower = "${muleModuleName.toLowerCase()}") #set($moduleGroupIdPath = $groupId.replace(".", "/")) package ${package}; import org.mule.api.annotations.Module; import org.mule.api.ConnectionException; import org.mule.api.annotations.Configurable; import org.mule.api.annotations.Processor; /** * Generic module * * @author MuleSoft, Inc. */ @Module(name="${moduleNameLower}", schemaVersion="${version}") public class ${muleModuleName}Module { /** * Configurable */ @Configurable private String myProperty; /** * Set property * * @param myProperty My property */ public void setMyProperty(String myProperty) { this.myProperty = myProperty; } /** * Custom processor * * {@sample.xml ../../../doc/${muleModuleName}-connector.xml.sample ${moduleNameLower}:my-processor} * * @param content Content to be processed * @return Some string */ @Processor public String myProcessor(String content) { /* * MESSAGE PROCESSOR CODE GOES HERE */ return content; } }