public class MyMqttPahoMessageHandler
extends org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler
EXPRESSION_PARSER, logger| Constructor and Description |
|---|
MyMqttPahoMessageHandler(String clientId,
org.springframework.integration.mqtt.core.MqttPahoClientFactory clientFactory) |
MyMqttPahoMessageHandler(String url,
String clientId) |
MyMqttPahoMessageHandler(String url,
String clientId,
org.springframework.integration.mqtt.core.MqttPahoClientFactory clientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStop() |
void |
handleMessageInternal(org.springframework.messaging.Message<?> message) |
void |
onInit() |
connectionLost, deliveryComplete, doStart, messageArrived, publish, setApplicationEventPublisher, setAsync, setAsyncEvents, setCompletionTimeoutgetClientId, getClientInstance, getComponentType, getConverter, getUrl, incrementClientInstance, isRunning, setConverter, setDefaultQos, setDefaultRetained, setDefaultTopic, setQosExpression, setQosExpressionString, setRetainedExpression, setRetainedExpressionString, setTopicExpression, setTopicExpressionString, start, stopconfigureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic MyMqttPahoMessageHandler(String url, String clientId, org.springframework.integration.mqtt.core.MqttPahoClientFactory clientFactory)
public MyMqttPahoMessageHandler(String clientId, org.springframework.integration.mqtt.core.MqttPahoClientFactory clientFactory)
public void doStop()
doStop in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandlerpublic void handleMessageInternal(org.springframework.messaging.Message<?> message)
throws Exception
handleMessageInternal in class org.springframework.integration.mqtt.outbound.AbstractMqttMessageHandlerExceptionpublic void onInit()
onInit in class org.springframework.integration.mqtt.outbound.MqttPahoMessageHandlerCopyright © 2025. All rights reserved.