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:
Serializable
public class StompReceiptEvent extends StompIntegrationEvent
The
StompIntegrationEvent
for the STOMP RECEIPT
Frames or lost receipts.- Since:
- 4.2
- Author:
- Artem Bilan, Gary Russell
- See Also:
StompInboundChannelAdapter
,StompMessageHandler
, Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StompReceiptEvent(Object source, String destination, String receiptId, StompCommand stompCommand, boolean lost)
-
Method Summary
Modifier and Type Method Description String
getDestination()
Message<?>
getMessage()
String
getReceiptId()
StompCommand
getStompCommand()
boolean
isLost()
void
setMessage(Message<?> message)
String
toString()
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType
-
Constructor Details
-
StompReceiptEvent
public StompReceiptEvent(Object source, String destination, String receiptId, StompCommand stompCommand, boolean lost)
-
-
Method Details
-
getDestination
-
getReceiptId
-
getStompCommand
-
isLost
public boolean isLost() -
getMessage
-
setMessage
-
toString
- Overrides:
toString
in classIntegrationEvent
-