Class MessagingEvent

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

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

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors 
    Constructor Description
    MessagingEvent​(org.springframework.messaging.Message<?> message)  
  • Method Summary

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

    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)
  • Method Details

    • getMessage

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