Class MessagingEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.event.core.MessagingEvent
All Implemented Interfaces:
Serializable

public class MessagingEvent extends org.springframework.context.ApplicationEvent
A subclass of ApplicationEvent that wraps a Message.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    MessagingEvent(org.springframework.messaging.Message<?> message)
    Construct an instance based on the provided message.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.messaging.Message<?>
     

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MessagingEvent

      public MessagingEvent(org.springframework.messaging.Message<?> message)
      Construct an instance based on the provided message.
      Parameters:
      message - the message for event.
  • Method Details

    • getMessage

      public org.springframework.messaging.Message<?> getMessage()