Skip to content

Instantly share code, notes, and snippets.

@riferrei
Created August 18, 2010 15:24
Show Gist options
  • Save riferrei/535117 to your computer and use it in GitHub Desktop.
Save riferrei/535117 to your computer and use it in GitHub Desktop.
package com.redhat.jboss.esb.demo;
import org.jboss.soa.esb.actions.annotation.Process;
import org.jboss.soa.esb.configure.ConfigProperty;
import org.jboss.soa.esb.message.Message;
public class MyLogger {
@ConfigProperty(name = "firstParam")
private String firstParam;
@ConfigProperty(name = "secondParam")
private String secondParam;
@Process
public void log(Message message) {
System.out.println("---> " + firstParam + ", " + secondParam);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment