Skip to content

Instantly share code, notes, and snippets.

@rufer7
Created April 3, 2015 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rufer7/5fcb93ca7217dd1fd5cb to your computer and use it in GitHub Desktop.
Save rufer7/5fcb93ca7217dd1fd5cb to your computer and use it in GitHub Desktop.
Sample of a message handler
package be.rufer.amqp.integration.messaging.handler;
import org.springframework.integration.Message;
import org.springframework.integration.MessagingException;
import org.springframework.integration.core.MessageHandler;
import java.util.Collections;
public class SampleMessageHandler implements MessageHandler {
@Override
public void handleMessage(Message<?> message) throws MessagingException {
// handle message here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment