You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/08/24 16:21:00 UTC
[jira] [Commented] (ARTEMIS-6190) MQTT Will message properties propagation
[ https://issues.apache.org/jira/browse/ARTEMIS-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107497#comment-18107497 ]
ASF subversion and git services commented on ARTEMIS-6190:
----------------------------------------------------------
Commit dd6c4189fec33b78d06e577ef891be1d3cf87641 in artemis's branch refs/heads/main from borisalekseev
[ https://gitbox.apache.org/repos/asf?p=artemis.git;h=dd6c4189fe ]
ARTEMIS-6190 fix MQTT Will message properties propagation
All will properties are delivered with publish packet on unexpected client disconnect.
> MQTT Will message properties propagation
> ----------------------------------------
>
> Key: ARTEMIS-6190
> URL: https://issues.apache.org/jira/browse/ARTEMIS-6190
> Project: Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.55.0
> Reporter: Boris Alekseev
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.57.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When Artemis processes an MQTT 5 {{CONNECT}} packet, it currently preserves only two Will Properties:
> * {{{}Will Delay Interval{}}}, which controls when the Will is published.
> * {{{}User Property{}}}, which is added to the generated Will {{PUBLISH}} packet.
> The remaining Application Message properties allowed in Will Properties are discarded:
> * {{Payload Format Indicator}}
> * {{Message Expiry Interval}}
> * {{Content Type}}
> * {{Response Topic}}
> * {{Correlation Data}}
> Artemis already supports these properties for regular MQTT 5 {{PUBLISH}} packets. However, they are lost before the Will Message reaches the existing publish conversion path because the generated Will {{PUBLISH}} contains only User Properties.
> As a result, MQTT 5 subscribers receive the Will payload without the metadata supplied by the publishing client in the original {{CONNECT}} packet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org