Class MqttIntegrationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.mqtt.event.MqttIntegrationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MqttConnectionFailedEvent, MqttMessageDeliveryEvent, MqttProtocolErrorEvent, MqttSubscribedEvent
Base class for Mqtt Events. For
IntegrationEvent.getSourceAsType(), you should use a subtype
of MqttComponent for the receiving
variable.- Since:
- 4.1
- Author:
- Gary Russell, Artem Bilan
- See Also:
-
Field Summary
Fields inherited from class IntegrationEvent
causeFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMqttIntegrationEvent(Object source) MqttIntegrationEvent(Object source, @Nullable Throwable cause) -
Method Summary
Methods inherited from class IntegrationEvent
getCause, getSourceAsType, toStringMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource
-
Constructor Details
-
MqttIntegrationEvent
-
MqttIntegrationEvent
-