Class StompReceiptEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.stomp.event.StompIntegrationEvent
org.springframework.integration.stomp.event.StompReceiptEvent
All Implemented Interfaces:
java.io.Serializable

public class StompReceiptEvent
extends StompIntegrationEvent
The StompIntegrationEvent for the STOMP RECEIPT Frames or lost receipts.
Since:
4.2
See Also:
StompInboundChannelAdapter, StompMessageHandler, Serialized Form
  • Field Summary

    Fields inherited from class org.springframework.integration.events.IntegrationEvent

    cause

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors 
    Constructor Description
    StompReceiptEvent​(java.lang.Object source, java.lang.String destination, java.lang.String receiptId, org.springframework.messaging.simp.stomp.StompCommand stompCommand, boolean lost)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDestination()  
    org.springframework.messaging.Message<?> getMessage()  
    java.lang.String getReceiptId()  
    org.springframework.messaging.simp.stomp.StompCommand getStompCommand()  
    boolean isLost()  
    void setMessage​(org.springframework.messaging.Message<?> message)  
    java.lang.String toString()  

    Methods inherited from class org.springframework.integration.events.IntegrationEvent

    getCause, getSourceAsType

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    Methods inherited from class java.util.EventObject

    getSource

    Methods inherited from class java.lang.Object

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

    • StompReceiptEvent

      public StompReceiptEvent​(java.lang.Object source, java.lang.String destination, java.lang.String receiptId, org.springframework.messaging.simp.stomp.StompCommand stompCommand, boolean lost)
  • Method Details

    • getDestination

      public java.lang.String getDestination()
    • getReceiptId

      public java.lang.String getReceiptId()
    • getStompCommand

      public org.springframework.messaging.simp.stomp.StompCommand getStompCommand()
    • isLost

      public boolean isLost()
    • getMessage

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

      public void setMessage​(org.springframework.messaging.Message<?> message)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class org.springframework.integration.events.IntegrationEvent