Created
April 3, 2015 09:02
-
-
Save rufer7/5fcb93ca7217dd1fd5cb to your computer and use it in GitHub Desktop.
Sample of a message handler
This file contains 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 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