Top Description Methods
org.springframework.messaging.support

public Interface MessageHandlingRunnable

extends Runnable
Known Direct Implementers
org.springframework.messaging.support.ExecutorSubscribableChannel.SendTask
Imports
org.springframework.messaging.Message, .MessageHandler

Extension of the Runnable interface with methods to obtain the MessageHandler and Message to be handled.
Author
Rossen Stoyanchev
Since
4.1.1

Method Summary

Modifier and TypeMethod and Description
public Message<?>
getMessage()

Return the Message that will be handled.

public MessageHandler
getMessageHandler()

Return the MessageHandler that will be used to handle the message.

Inherited from java.lang.Runnable:
run

Method Detail

getMessageback to summary
public Message<?> getMessage()

Return the Message that will be handled.

getMessageHandlerback to summary
public MessageHandler getMessageHandler()

Return the MessageHandler that will be used to handle the message.