Add SUB ACK on topic v1/gateway/rpc
This commit is contained in:
parent
43e45020e9
commit
aa89c1a544
@ -244,6 +244,8 @@ public class MqttTransportHandler extends ChannelInboundHandlerAdapter implement
|
|||||||
grantedQoSList.add(getMinSupportedQos(reqQoS));
|
grantedQoSList.add(getMinSupportedQos(reqQoS));
|
||||||
} else if (topicName.equals(GATEWAY_ATTRIBUTES_TOPIC)) {
|
} else if (topicName.equals(GATEWAY_ATTRIBUTES_TOPIC)) {
|
||||||
grantedQoSList.add(getMinSupportedQos(reqQoS));
|
grantedQoSList.add(getMinSupportedQos(reqQoS));
|
||||||
|
} else if (topicName.equals(GATEWAY_RPC_TOPIC)) {
|
||||||
|
grantedQoSList.add(getMinSupportedQos(reqQoS));
|
||||||
} else {
|
} else {
|
||||||
log.warn("[{}] Failed to subscribe to [{}][{}]", sessionId, topicName, reqQoS);
|
log.warn("[{}] Failed to subscribe to [{}][{}]", sessionId, topicName, reqQoS);
|
||||||
grantedQoSList.add(FAILURE.value());
|
grantedQoSList.add(FAILURE.value());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user