Skip to content

Instantly share code, notes, and snippets.

@lstoll
Created May 9, 2010 18:25
Show Gist options
  • Save lstoll/395330 to your computer and use it in GitHub Desktop.
Save lstoll/395330 to your computer and use it in GitHub Desktop.
public static void receiveMessage() {
// Parse the message details
String to = params.get("to");
String from = params.get("from");
String body = params.get("body");
// LOG the request details
Logger.debug("XMPP Message sent to " + to + " by " + from + " is " + body );
ok();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment