[ https://issues.apache.org/jira/browse/ARTEMIS-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575676#comment-17575676 ]
gongping.zhu edited comment on ARTEMIS-3913 at 8/5/22 1:50 PM: --------------------------------------------------------------- i use the MqttAsyncClient to connect the sever and it can not receive the code and i found another problem, i has set the lastWill, and after it conn success . i Unplug the network cable for test; and zhe server do not call ActiveMQServerMessagePlugin afterSend method; it just call beforeMessageRoute、afterMessageRoute method;and zhe route method cannot get session info [client_id、connId、clientIp;how can i get zhe session info after lastWill sended; was (Author: JIRAUSER293605): i use the MqttAsyncClient to connect the sever and it can not receive the code and i found another problem, i has set the lastWill, after it conn success Unplug the network cable for test; and zhe server can not send zhe lastWill message, and also the ActiveMQServerMessagePlugin method can not invoke > MQTTReasonCodes byte loss of precision,must int type > ---------------------------------------------------- > > Key: ARTEMIS-3913 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3913 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: gongping.zhu > Priority: Major > Attachments: image-2022-08-02-08-23-52-965.png, > image-2022-08-02-08-24-39-288.png, image-2022-08-02-08-31-01-074.png, > image-2022-08-02-08-42-24-117.png, image-2022-08-02-08-43-39-442.png, > image-2022-08-02-08-45-11-459.png, image-2022-08-02-08-54-34-267.png, > image-2022-08-05-08-32-12-492.png > > -- This message was sent by Atlassian Jira (v8.20.10#820010)