@Configuration @EnableConfigurationProperties(value={MqttProperties.class,MqttConsumerProperties.class}) @Import(value=MqttConfiguration.class) public class MqttConsumerConfiguration extends Object
Constructor and Description |
---|
MqttConsumerConfiguration() |
Modifier and Type | Method and Description |
---|---|
Consumer<org.springframework.messaging.Message<?>> |
mqttConsumer() |
org.springframework.messaging.MessageHandler |
mqttOutbound() |
org.springframework.integration.mqtt.support.DefaultPahoMessageConverter |
pahoMessageConverter() |
@Bean public Consumer<org.springframework.messaging.Message<?>> mqttConsumer()
@Bean public org.springframework.messaging.MessageHandler mqttOutbound()
public org.springframework.integration.mqtt.support.DefaultPahoMessageConverter pahoMessageConverter()
Copyright © 2022. All rights reserved.