[ 
https://issues.apache.org/jira/browse/ARTEMIS-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848718#comment-17848718
 ] 

ASF subversion and git services commented on ARTEMIS-4768:
----------------------------------------------------------

Commit 7e151ee1cee02496e0552d3be8da034ded4aa08f in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=7e151ee1ce ]

ARTEMIS-4768 _AMQ_SCHED_DELIVERY msg prop lost after broker restart


> Property _AMQ_SCHED_DELIVERY lost from Scheduled Persistent Message after 
> broker restart
> ----------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4768
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4768
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.19.1, 2.33.0
>            Reporter: Ajay P
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Im seeing something peculiar related to messages with Scheduled Delivery on 
> artemis 2.33.0 and a few prev versions too.
> We transmit persistent messages for scheduled delivery with the property 
> _AMQ_SCHED_DELIVERY set to the time.  There is a use case for being able to 
> browse these queues for scheduled messages and remove them if they need to be 
> canceled before delivery. This works fine and when browsing the queue using 
> listScheduledMessages, all properties on said message are visible. We use 
> this to show a list of scheduled messages that will be transmitted in the 
> future.
> However, if the broker is restarted, then the message does not have that 
> _AMQ_SCHED_DELIVERY property set anymore. The broker still delivers the 
> message on the scheduled time but while browsing through the queue messages 
> that specific property is not on the message. 
>  
> Here is a link to a fork with a test case checked in.
> [https://github.com/aahrimaan/activemq-scheduled-messages-issue]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to