Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractMqttClientManager<T,
C> - Class in org.springframework.integration.mqtt.core -
Abstract class for MQTT client managers which can be a base for any common v3/v5 client manager implementation.
- AbstractMqttClientManager(String) - Constructor for class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- AbstractMqttMessageDrivenChannelAdapter<T,
C> - Class in org.springframework.integration.mqtt.inbound -
Abstract class for MQTT Message-Driven Channel Adapters.
- AbstractMqttMessageDrivenChannelAdapter(String, String, String...) - Constructor for class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- AbstractMqttMessageDrivenChannelAdapter(ClientManager<T, C>, String...) - Constructor for class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- AbstractMqttMessageHandler<T,
C> - Class in org.springframework.integration.mqtt.outbound -
Abstract class for MQTT outbound channel adapters.
- AbstractMqttMessageHandler(String, String) - Constructor for class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- AbstractMqttMessageHandler(ClientManager<T, C>) - Constructor for class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- addCallback(ClientManager.ConnectCallback) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- addCallback(ClientManager.ConnectCallback) - Method in interface org.springframework.integration.mqtt.core.ClientManager
-
Register a callback for the
connectComplete
event from the client. - addTopic(String...) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Add a topic (or topics) to the subscribed list (qos=1).
- addTopic(String, int) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Add a topic to the subscribed list.
- addTopic(String, int) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- addTopic(String, int) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- addTopics(String[], int[]) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Add topics to the subscribed list.
- authPacketArrived(int, MqttProperties) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- authPacketArrived(int, MqttProperties) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- authPacketArrived(int, MqttProperties) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
C
- ClientManager<T,
C> - Interface in org.springframework.integration.mqtt.core -
A utility abstraction over MQTT client which can be used in any MQTT-related component without need to handle generic client callbacks, reconnects etc.
- ClientManager.ConnectCallback - Interface in org.springframework.integration.mqtt.core
-
A contract for a custom callback on
connectComplete
event from the client. - cloneConnectOptions(MqttConnectOptions) - Static method in class org.springframework.integration.mqtt.support.MqttUtils
-
Clone the
MqttConnectOptions
, except the serverUris. - connectComplete(boolean) - Method in interface org.springframework.integration.mqtt.core.ClientManager.ConnectCallback
-
Called when the connection to the server is completed successfully.
- connectComplete(boolean) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- connectComplete(boolean) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- connectComplete(boolean, String) - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- connectComplete(boolean, String) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- connectComplete(boolean, String) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- connectComplete(boolean, String) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- connectComplete(boolean, String) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- connectionLost(Throwable) - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- connectionLost(Throwable) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- connectionLost(Throwable) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- ConsumerStopAction - Enum Class in org.springframework.integration.mqtt.core
-
Action to take regarding subscrptions when consumer stops.
- CORRELATION_DATA - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
D
- DEFAULT_COMPLETION_TIMEOUT - Static variable in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
The default completion timeout in milliseconds.
- DEFAULT_COMPLETION_TIMEOUT - Static variable in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
The default completion timeout in milliseconds.
- DefaultMqttPahoClientFactory - Class in org.springframework.integration.mqtt.core
-
Creates a default
MqttClient
and a set of options as configured. - DefaultMqttPahoClientFactory() - Constructor for class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
- DefaultMqttPahoClientFactory.Will - Class in org.springframework.integration.mqtt.core
- DefaultPahoMessageConverter - Class in org.springframework.integration.mqtt.support
-
Default implementation for mapping to/from Messages.
- DefaultPahoMessageConverter() - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter with default options (qos=0, retain=false, charset=UTF-8).
- DefaultPahoMessageConverter(int, boolean) - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter to create outbound messages with the supplied default qos and retain settings and a UTF-8 charset for converting outbound String payloads to
byte[]
and inboundbyte[]
to String (unlesspayloadAdBytes
is true). - DefaultPahoMessageConverter(int, boolean, String) - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter to create outbound messages with the supplied default qos and retain settings and the supplied charset.
- DefaultPahoMessageConverter(int, MessageProcessor<Integer>, boolean, MessageProcessor<Boolean>) - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter to create outbound messages with the supplied default qos and retained message processors and a UTF-8 charset for converting outbound String payloads to
byte[]
and inboundbyte[]
to String (unlesspayloadAdBytes
is true). - DefaultPahoMessageConverter(int, MessageProcessor<Integer>, boolean, MessageProcessor<Boolean>, String) - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter to create outbound messages with the supplied default qos and retain settings and the supplied charset.
- DefaultPahoMessageConverter(String) - Constructor for class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Construct a converter with default options (qos=0, retain=false) and the supplied charset.
- defaultQosProcessor() - Static method in interface org.springframework.integration.mqtt.support.MqttMessageConverter
- defaultRetainedProcessor() - Static method in interface org.springframework.integration.mqtt.support.MqttMessageConverter
- deliveryComplete(IMqttDeliveryToken) - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- deliveryComplete(IMqttDeliveryToken) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- deliveryComplete(IMqttDeliveryToken) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- deliveryComplete(IMqttToken) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- deliveryComplete(IMqttToken) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- deliveryComplete(IMqttToken) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- destroy() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- destroy() - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- destroy() - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- destroy() - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- DISCONNECT_COMPLETION_TIMEOUT - Static variable in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
The default disconnect completion timeout in milliseconds.
- DISCONNECT_COMPLETION_TIMEOUT - Static variable in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
The default disconnect completion timeout in milliseconds.
- disconnected(MqttDisconnectResponse) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- disconnected(MqttDisconnectResponse) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- disconnected(MqttDisconnectResponse) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- doParse(Element, ParserContext, String) - Method in class org.springframework.integration.mqtt.config.xml.MqttMessageDrivenChannelAdapterParser
- doStart() - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- doStart() - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- doStart() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- doStart() - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- doStart() - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- doStop() - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- doStop() - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- doStop() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- doStop() - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- doStop() - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- duplicate(Message<?>) - Static method in class org.springframework.integration.mqtt.support.MqttHeaderAccessor
-
Return the duplicate header.
- DUPLICATE - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
F
- fromHeaders(MessageHeaders, MqttProperties) - Method in class org.springframework.integration.mqtt.support.MqttHeaderMapper
- fromMessage(Message<?>, Class<?>) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
G
- getApplicationEventPublisher() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getApplicationEventPublisher() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getApplicationEventPublisher() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getAsyncClientInstance(String, String) - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
- getAsyncClientInstance(String, String) - Method in interface org.springframework.integration.mqtt.core.MqttPahoClientFactory
-
Retrieve an async client instance.
- getBeanFactory() - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- getBeanName() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getBeanName() - Method in interface org.springframework.integration.mqtt.core.MqttComponent
-
Return this component's bean name.
- getCallbacks() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getClient() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getClient() - Method in interface org.springframework.integration.mqtt.core.ClientManager
-
Return the managed client.
- getClientId() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getClientId() - Method in class org.springframework.integration.mqtt.event.MqttMessageDeliveryEvent
- getClientId() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getClientId() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getClientInstance() - Method in class org.springframework.integration.mqtt.event.MqttMessageDeliveryEvent
- getClientInstance() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Incremented each time the client is connected.
- getClientInstance(String, String) - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
- getClientInstance(String, String) - Method in interface org.springframework.integration.mqtt.core.MqttPahoClientFactory
-
Retrieve a client instance.
- getClientManager() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getClientManager() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getCompletionTimeout() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getCompletionTimeout() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getComponentType() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getComponentType() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getConnectionInfo() - Method in interface org.springframework.integration.mqtt.core.MqttComponent
-
Return information about the connection.
- getConnectionInfo() - Method in interface org.springframework.integration.mqtt.core.MqttPahoComponent
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- getConnectionInfo() - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- getConnectionOptions() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
- getConnectionOptions() - Method in interface org.springframework.integration.mqtt.core.MqttPahoClientFactory
-
Retrieve the connection options.
- getConsumerStopAction() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
-
Get the consumer stop action.
- getConsumerStopAction() - Method in interface org.springframework.integration.mqtt.core.MqttPahoClientFactory
-
Get the consumer stop action.
- getConverter() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getConverter() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getDefaultQos() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getDefaultRetained() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getDefaultTopic() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getDisconnectCompletionTimeout() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getMessage() - Method in class org.springframework.integration.mqtt.event.MqttMessageSentEvent
- getMessage() - Method in class org.springframework.integration.mqtt.event.MqttSubscribedEvent
- getMessageBuilderFactory() - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- getMessageId() - Method in class org.springframework.integration.mqtt.event.MqttMessageDeliveryEvent
- getPayload() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.Will
- getPhase() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
-
The phase of component autostart in
SmartLifecycle
. - getQos() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.Will
- getQos() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getQosProcessor() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getRetainedProcessor() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getTopic() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.Will
- getTopic() - Method in class org.springframework.integration.mqtt.event.MqttMessageSentEvent
- getTopic() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getTopicProcessor() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- getUrl() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- getUrl() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- getUrl() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
H
- handleMessageInternal(Message<?>) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- handleMessageInternal(Message<?>) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
I
- id(Message<?>) - Static method in class org.springframework.integration.mqtt.support.MqttHeaderAccessor
-
Return the MQTT message id.
- ID - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- incrementClientInstance() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- init() - Method in class org.springframework.integration.mqtt.config.xml.MqttNamespaceHandler
- isManualAcks() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- isManualAcks() - Method in interface org.springframework.integration.mqtt.core.ClientManager
-
If manual acknowledge has to be used; false by default.
- isManualAcks() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- isPayloadAsBytes() - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- isRetained() - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.Will
- isRunning() - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- isRunning() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
L
- logger - Variable in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
M
- MESSAGE_EXPIRY_INTERVAL - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- messageArrived(String, MqttMessage) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- messageToMqttBytes(Message<?>) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Subclasses can override this method to convert the payload to a byte[].
- mqttBytesToPayload(MqttMessage) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Subclasses can override this method to convert the byte[] to a payload.
- MqttComponent<T> - Interface in org.springframework.integration.mqtt.core
-
A component that interfaces with MQTT.
- MqttConnectionFailedEvent - Class in org.springframework.integration.mqtt.event
-
The
MqttIntegrationEvent
to notify about lost connection to the server. - MqttConnectionFailedEvent(Object) - Constructor for class org.springframework.integration.mqtt.event.MqttConnectionFailedEvent
- MqttConnectionFailedEvent(Object, Throwable) - Constructor for class org.springframework.integration.mqtt.event.MqttConnectionFailedEvent
- mqttErrorOccurred(MqttException) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- mqttErrorOccurred(MqttException) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- mqttErrorOccurred(MqttException) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- MqttHeaderAccessor - Class in org.springframework.integration.mqtt.support
-
Helper for typed access to incoming MQTT message headers.
- MqttHeaderMapper - Class in org.springframework.integration.mqtt.support
-
The default
HeaderMapper
implementation for MQTT v5 message properties mapping. - MqttHeaderMapper() - Constructor for class org.springframework.integration.mqtt.support.MqttHeaderMapper
- MqttHeaders - Class in org.springframework.integration.mqtt.support
-
Spring Integration headers.
- MqttIntegrationEvent - Class in org.springframework.integration.mqtt.event
-
Base class for Mqtt Events.
- MqttIntegrationEvent(Object) - Constructor for class org.springframework.integration.mqtt.event.MqttIntegrationEvent
- MqttIntegrationEvent(Object, Throwable) - Constructor for class org.springframework.integration.mqtt.event.MqttIntegrationEvent
- MqttMessageConverter - Interface in org.springframework.integration.mqtt.support
-
Extension of
MessageConverter
allowing the topic to be added as a header. - MqttMessageDeliveredEvent - Class in org.springframework.integration.mqtt.event
-
An event emitted (when using aysnc) when the client indicates the message was delivered.
- MqttMessageDeliveredEvent(Object, int, String, int) - Constructor for class org.springframework.integration.mqtt.event.MqttMessageDeliveredEvent
- MqttMessageDeliveryEvent - Class in org.springframework.integration.mqtt.event
-
Base class for events related to message delivery.
- MqttMessageDeliveryEvent(Object, int, String, int) - Constructor for class org.springframework.integration.mqtt.event.MqttMessageDeliveryEvent
- MqttMessageDrivenChannelAdapterParser - Class in org.springframework.integration.mqtt.config.xml
-
The MqttAdapter Message Driven Channel adapter parser.
- MqttMessageDrivenChannelAdapterParser() - Constructor for class org.springframework.integration.mqtt.config.xml.MqttMessageDrivenChannelAdapterParser
- MqttMessageSentEvent - Class in org.springframework.integration.mqtt.event
-
An event emitted (when using async) when the client indicates that a message has been sent.
- MqttMessageSentEvent(Object, Message<?>, String, int, String, int) - Constructor for class org.springframework.integration.mqtt.event.MqttMessageSentEvent
- MqttNamespaceHandler - Class in org.springframework.integration.mqtt.config.xml
-
The namespace handler for the MqttAdapter namespace.
- MqttNamespaceHandler() - Constructor for class org.springframework.integration.mqtt.config.xml.MqttNamespaceHandler
- MqttOutboundChannelAdapterParser - Class in org.springframework.integration.mqtt.config.xml
-
The parser for the MqttAdapter Outbound Channel Adapter.
- MqttOutboundChannelAdapterParser() - Constructor for class org.springframework.integration.mqtt.config.xml.MqttOutboundChannelAdapterParser
- MqttPahoClientFactory - Interface in org.springframework.integration.mqtt.core
- MqttPahoComponent - Interface in org.springframework.integration.mqtt.core
-
An extension of
MqttComponent
for Eclipse Paho components. - MqttPahoMessageDrivenChannelAdapter - Class in org.springframework.integration.mqtt.inbound
-
Eclipse Paho Implementation.
- MqttPahoMessageDrivenChannelAdapter(String, String, String...) - Constructor for class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
Use this constructor when you don't need additional
MqttConnectOptions
. - MqttPahoMessageDrivenChannelAdapter(String, String, MqttPahoClientFactory, String...) - Constructor for class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
Use this constructor for a single url (although it may be overridden if the server URI(s) are provided by the
MqttConnectOptions.getServerURIs()
provided by theMqttPahoClientFactory
). - MqttPahoMessageDrivenChannelAdapter(String, MqttPahoClientFactory, String...) - Constructor for class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
Use this constructor if the server URI(s) are provided by the
MqttConnectOptions.getServerURIs()
provided by theMqttPahoClientFactory
. - MqttPahoMessageDrivenChannelAdapter(ClientManager<IMqttAsyncClient, MqttConnectOptions>, String...) - Constructor for class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
Use this constructor when you need to use a single
ClientManager
(for instance, to reuse an MQTT connection). - MqttPahoMessageHandler - Class in org.springframework.integration.mqtt.outbound
-
Eclipse Paho Implementation.
- MqttPahoMessageHandler(String, String) - Constructor for class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
Use this constructor when you don't need additional
MqttConnectOptions
. - MqttPahoMessageHandler(String, String, MqttPahoClientFactory) - Constructor for class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
Use this constructor for a single url (although it may be overridden if the server URI(s) are provided by the
MqttConnectOptions.getServerURIs()
provided by theMqttPahoClientFactory
). - MqttPahoMessageHandler(String, MqttPahoClientFactory) - Constructor for class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
Use this constructor if the server URI(s) are provided by the
MqttConnectOptions.getServerURIs()
provided by theMqttPahoClientFactory
. - MqttPahoMessageHandler(ClientManager<IMqttAsyncClient, MqttConnectOptions>) - Constructor for class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
Use this constructor when you need to use a single
ClientManager
(for instance, to reuse an MQTT connection). - MqttProtocolErrorEvent - Class in org.springframework.integration.mqtt.event
-
The even representing an MQTT error occured during client interaction.
- MqttProtocolErrorEvent(Object, MqttException) - Constructor for class org.springframework.integration.mqtt.event.MqttProtocolErrorEvent
- MqttSubscribedEvent - Class in org.springframework.integration.mqtt.event
- MqttSubscribedEvent(Object, String) - Constructor for class org.springframework.integration.mqtt.event.MqttSubscribedEvent
- MqttUtils - Class in org.springframework.integration.mqtt.support
-
MQTT Utilities.
- Mqttv3ClientManager - Class in org.springframework.integration.mqtt.core
-
A client manager implementation for MQTT v3 protocol.
- Mqttv3ClientManager(String, String) - Constructor for class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- Mqttv3ClientManager(MqttConnectOptions, String) - Constructor for class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- Mqttv5ClientManager - Class in org.springframework.integration.mqtt.core
-
A client manager implementation for MQTT v5 protocol.
- Mqttv5ClientManager(String, String) - Constructor for class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- Mqttv5ClientManager(MqttConnectionOptions, String) - Constructor for class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- Mqttv5PahoMessageDrivenChannelAdapter - Class in org.springframework.integration.mqtt.inbound
-
The
AbstractMqttMessageDrivenChannelAdapter
implementation for MQTT v5. - Mqttv5PahoMessageDrivenChannelAdapter(String, String, String...) - Constructor for class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- Mqttv5PahoMessageDrivenChannelAdapter(MqttConnectionOptions, String, String...) - Constructor for class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- Mqttv5PahoMessageDrivenChannelAdapter(ClientManager<IMqttAsyncClient, MqttConnectionOptions>, String...) - Constructor for class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
-
Use this constructor when you need to use a single
ClientManager
(for instance, to reuse an MQTT connection). - Mqttv5PahoMessageHandler - Class in org.springframework.integration.mqtt.outbound
-
The
AbstractMqttMessageHandler
implementation for MQTT v5. - Mqttv5PahoMessageHandler(String, String) - Constructor for class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- Mqttv5PahoMessageHandler(MqttConnectionOptions, String) - Constructor for class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- Mqttv5PahoMessageHandler(ClientManager<IMqttAsyncClient, MqttConnectionOptions>) - Constructor for class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
-
Use this constructor when you need to use a single
ClientManager
(for instance, to reuse an MQTT connection).
O
- onInit() - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- onInit() - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- onInit() - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- onInit() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- onInit() - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- onInit() - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- org.springframework.integration.mqtt.config.xml - package org.springframework.integration.mqtt.config.xml
-
Provides parser classes to provide Xml namespace support for the MqttAdapter components.
- org.springframework.integration.mqtt.core - package org.springframework.integration.mqtt.core
-
Provides core classes of the MqttAdapter module.
- org.springframework.integration.mqtt.event - package org.springframework.integration.mqtt.event
-
ApplicationEvents generated by the mqtt module.
- org.springframework.integration.mqtt.inbound - package org.springframework.integration.mqtt.inbound
-
Provides inbound Spring Integration MqttAdapter components.
- org.springframework.integration.mqtt.outbound - package org.springframework.integration.mqtt.outbound
-
Provides Spring Integration components for doing outbound operations.
- org.springframework.integration.mqtt.support - package org.springframework.integration.mqtt.support
-
Provides various support classes used across Spring Integration MqttAdapter Components.
P
- parseConsumer(Element, ParserContext) - Method in class org.springframework.integration.mqtt.config.xml.MqttOutboundChannelAdapterParser
- PREFIX - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- publish(String, Object, Message<?>) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- publish(String, Object, Message<?>) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
- publish(String, Object, Message<?>) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
Q
- QOS - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
R
- RECEIVED_QOS - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- RECEIVED_RETAINED - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- RECEIVED_TOPIC - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- receivedQos(Message<?>) - Static method in class org.springframework.integration.mqtt.support.MqttHeaderAccessor
-
Return the received QOS header.
- receivedRetained(Message<?>) - Static method in class org.springframework.integration.mqtt.support.MqttHeaderAccessor
-
Return the received retained header.
- receivedTopic(Message<?>) - Static method in class org.springframework.integration.mqtt.support.MqttHeaderAccessor
-
Return the received topic header.
- removeCallback(ClientManager.ConnectCallback) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- removeCallback(ClientManager.ConnectCallback) - Method in interface org.springframework.integration.mqtt.core.ClientManager
-
Remove the callback from registration.
- removeTopic(String...) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Remove a topic (or topics) from the subscribed list.
- removeTopic(String...) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
- removeTopic(String...) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- RESPONSE_TOPIC - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- RETAINED - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
S
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- setAsync(boolean) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
Set to true if you don't want to block when sending messages.
- setAsync(boolean) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
-
Set to true if you don't want to block when sending messages.
- setAsyncEvents(boolean) - Method in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
-
When
MqttPahoMessageHandler.setAsync(boolean)
is true, setting this to true enables publication ofMqttMessageSentEvent
andMqttMessageDeliveredEvent
to be emitted. - setAsyncEvents(boolean) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
-
When
setAsync(boolean)
is true, setting this to true enables publication ofMqttMessageSentEvent
andMqttMessageDeliveredEvent
to be emitted. - setBeanFactory(BeanFactory) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- setBeanName(String) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- setBytesMessageMapper(BytesMessageMapper) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Set a
BytesMessageMapper
to use when mapping byte[]. - setClient(T) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- setCompletionTimeout(long) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Set the completion timeout for operations.
- setCompletionTimeout(long) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the completion timeout for async operations.
- setConnectionOptions(MqttConnectOptions) - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
-
Set the preconfigured
MqttConnectOptions
. - setConsumerStopAction(ConsumerStopAction) - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
-
Set the consumer stop action.
- setConverter(MqttMessageConverter) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- setConverter(MqttMessageConverter) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- setConverter(MessageConverter) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the message converter to use; if this is provided, the adapter qos and retained settings are ignored.
- setDefaultQos(int) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the qos for messages if the
qosExpression
evaluates to null. - setDefaultRetained(boolean) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the retained boolean for messages if the
retainedExpression
evaluates to null. - setDefaultTopic(String) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the topic to which the message will be published if the
topicExpression
evaluates to `null`. - setDisconnectCompletionTimeout(long) - Method in class org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter
-
Set the completion timeout when disconnecting.
- setDisconnectCompletionTimeout(long) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the completion timeout when disconnecting.
- setHeaderMapper(HeaderMapper<MqttProperties>) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- setHeaderMapper(HeaderMapper<MqttProperties>) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- setInboundHeaderNames(String...) - Method in class org.springframework.integration.mqtt.support.MqttHeaderMapper
-
Provide a list of patterns to map MQTT message properties into message headers.
- setManualAcks(boolean) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- setManualAcks(boolean) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Set the acknowledgment mode to manual.
- setMessageConverter(SmartMessageConverter) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- setOutboundHeaderNames(String...) - Method in class org.springframework.integration.mqtt.support.MqttHeaderMapper
-
Provide a list of patterns to map header into a PUBLISH MQTT message.
- setPayloadAsBytes(boolean) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
True if the converter should not convert the message payload to a String.
- setPayloadType(Class<?>) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
-
Set the type of the target message payload to produce after conversion from MQTT message.
- setPersistence(MqttClientPersistence) - Method in class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory
-
Set the persistence to pass into the client constructor.
- setPersistence(MqttClientPersistence) - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
-
Set the
MqttClientPersistence
for a client. - setPersistence(MqttClientPersistence) - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
-
Set the
MqttClientPersistence
for a client. - setPersistence(MqttClientPersistence) - Method in class org.springframework.integration.mqtt.inbound.Mqttv5PahoMessageDrivenChannelAdapter
- setPersistence(MqttClientPersistence) - Method in class org.springframework.integration.mqtt.outbound.Mqttv5PahoMessageHandler
- setPhase(int) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
-
Set the phase of component autostart in
SmartLifecycle
. - setQos(int...) - Method in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
-
Set the QoS for each topic; a single value will apply to all topics otherwise the correct number of qos values must be provided.
- setQosExpression(Expression) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the qos expression; default "headers['mqtt_qos']".
- setQosExpressionString(String) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the qos expression; default "headers['mqtt_qos']".
- setRetainedExpression(Expression) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the retained expression; default "headers['mqtt_retained']".
- setRetainedExpressionString(String) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the retained expression; default "headers['mqtt_retained']".
- setTopicExpression(Expression) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the topic expression; default "headers['mqtt_topic']".
- setTopicExpressionString(String) - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
-
Set the topic expression; default "headers['mqtt_topic']".
- setUrl(String) - Method in class org.springframework.integration.mqtt.core.AbstractMqttClientManager
- shouldGenerateId() - Method in class org.springframework.integration.mqtt.config.xml.MqttOutboundChannelAdapterParser
- shouldGenerateIdAsFallback() - Method in class org.springframework.integration.mqtt.config.xml.MqttOutboundChannelAdapterParser
- start() - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- start() - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- start() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
- stop() - Method in class org.springframework.integration.mqtt.core.Mqttv3ClientManager
- stop() - Method in class org.springframework.integration.mqtt.core.Mqttv5ClientManager
- stop() - Method in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandler
T
- toHeaders(MqttProperties) - Method in class org.springframework.integration.mqtt.support.MqttHeaderMapper
- toMessage(Object, MessageHeaders) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- toMessage(String, MqttMessage) - Method in interface org.springframework.integration.mqtt.support.MqttMessageConverter
-
Convert to a Message.
- toMessageBuilder(String, MqttMessage) - Method in class org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
- toMessageBuilder(String, MqttMessage) - Method in interface org.springframework.integration.mqtt.support.MqttMessageConverter
-
Convert to a message builder.
- TOPIC - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- TOPIC_ALIAS - Static variable in class org.springframework.integration.mqtt.support.MqttHeaders
- topicLock - Variable in class org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter
- toString() - Method in class org.springframework.integration.mqtt.event.MqttMessageDeliveredEvent
- toString() - Method in class org.springframework.integration.mqtt.event.MqttMessageSentEvent
- toString() - Method in class org.springframework.integration.mqtt.event.MqttSubscribedEvent
U
- UNSUBSCRIBE_ALWAYS - Enum constant in enum class org.springframework.integration.mqtt.core.ConsumerStopAction
-
Always unsubscribe.
- UNSUBSCRIBE_CLEAN - Enum constant in enum class org.springframework.integration.mqtt.core.ConsumerStopAction
-
Unsubscribe if clean session is true.
- UNSUBSCRIBE_NEVER - Enum constant in enum class org.springframework.integration.mqtt.core.ConsumerStopAction
-
Never unsubscribe.
V
- valueOf(String) - Static method in enum class org.springframework.integration.mqtt.core.ConsumerStopAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.integration.mqtt.core.ConsumerStopAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- Will(String, byte[], int, boolean) - Constructor for class org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.Will
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form