[
https://issues.apache.org/jira/browse/ARTEMIS-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583183#comment-17583183
]
Justin Bertram commented on ARTEMIS-3948:
-----------------------------------------
I'm closing this as I changed the way LWT messages are sent via ARTEMIS-3942.
You can get the connection from the {{ServerSession}} passed into
{{o.a.a.a.c.s.p.ActiveMQServerMessagePlugin#beforeSend(ServerSession,
Transaction, Message, boolean, boolean)}} now for LWT messages.
I don't totally understand your requirement as the English doesn't make much
sense, but I'm hopeful this will resolve your problem.
> artemis 2.24.x LWT message send,it cannot invoke before or after Send method
> and i just invoke xxxMessageRoute method and i can't get zhe correspond
> remoteConnection;
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3948
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3948
> Project: ActiveMQ Artemis
> Issue Type: Wish
> Affects Versions: 2.24.0
> Reporter: gongping.zhu
> Priority: Major
>
> i want develop a plugin to catch zhe LWT message and get zhe correspond
> remoteConnection;
> after 2.24.x it can't do;
> can u expose zhe remoteConnection when route LWT mesage?
> if u not do zhis ,it will case connect state not correct; when lwt message
> not process in time,and new connect it wil case wrong state
>
> but apache-activemq-5.16.4 version send LWT message can get remote connect id
> use
> ProducerBrokerExchange
--
This message was sent by Atlassian Jira
(v8.20.10#820010)