org.springframework.messaging.support

Interface MessageHandlingRunnable

  • All Superinterfaces:
    java.lang.Runnable


    public interface MessageHandlingRunnable
    extends java.lang.Runnable
    Extension of the Runnable interface with methods to obtain the MessageHandler and Message to be handled.
    Since:
    4.1.1
    Author:
    Rossen Stoyanchev
    • Method Detail

      • getMessage

        Message<?> getMessage()
        Return the Message that will be handled.
      • getMessageHandler

        MessageHandler getMessageHandler()
        Return the MessageHandler that will be used to handle the message.