Skip to content

Instantly share code, notes, and snippets.

@federecio
Created November 7, 2011 15:21
Show Gist options
  • Select an option

  • Save federecio/1345263 to your computer and use it in GitHub Desktop.

Select an option

Save federecio/1345263 to your computer and use it in GitHub Desktop.
package org.mule;
import org.mule.api.annotations.Module;
import org.mule.api.ConnectionException;
import org.mule.api.annotations.Configurable;
import org.mule.api.annotations.Processor;
@Module(name="googlemaps", schemaVersion="1.0")
public class GoogleMapsModule
{
@Configurable
private String myProperty;
@Processor
public String myProcessor(String content)
{
/*
* MESSAGE PROCESSOR CODE GOES HERE
*/
return content;
}
public void setMyProperty(String myProperty)
{
this.myProperty = myProperty;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment