Created
November 7, 2011 15:21
-
-
Save federecio/1345263 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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