Class MqttConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.mqtt.MqttConsumerConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties({MqttProperties.class,MqttConsumerProperties.class})
@Import(MqttConfiguration.class)
public class MqttConsumerConfiguration
extends Object
A consumer that sends data to Mqtt.
- Author:
- Janne Valkealahti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmqttConsumer
(MessageHandler mqttOutbound) mqttOutbound
(org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler> mqttMessageHandlerCustomizer) org.springframework.integration.mqtt.support.DefaultPahoMessageConverter
-
Constructor Details
-
MqttConsumerConfiguration
public MqttConsumerConfiguration()
-
-
Method Details
-
mqttConsumer
-
mqttOutbound
@Bean public MessageHandler mqttOutbound(@Nullable org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler> mqttMessageHandlerCustomizer) -
pahoMessageConverter
public org.springframework.integration.mqtt.support.DefaultPahoMessageConverter pahoMessageConverter()
-