@MessageEndpoint public class MqttReceiver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,CallSubpackageMsg<MqttMsg>> |
CALLBACKS |
| Constructor and Description |
|---|
MqttReceiver(IaContext iaContext,
IMqttSender iMqttSender,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor mqttExecutor,
MqttLogUtil mqttLogUtil) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Map<String,CallSubpackageMsg<MqttMsg>> |
getCALLBACKS() |
String |
getUnitBySubList(String topic) |
void |
messageReceiver(org.springframework.messaging.Message<String> message) |
MsgRsp |
receive(String topic,
MqttMsg mqttMsg) |
protected static final Map<String,CallSubpackageMsg<MqttMsg>> CALLBACKS
public MqttReceiver(IaContext iaContext, IMqttSender iMqttSender, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor mqttExecutor, MqttLogUtil mqttLogUtil)
@ServiceActivator(inputChannel="mqttInboundChannel") public void messageReceiver(org.springframework.messaging.Message<String> message)
@PreDestroy public void destroy()
public Map<String,CallSubpackageMsg<MqttMsg>> getCALLBACKS()
Copyright © 2025. All rights reserved.