You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martin Devlin (Jira)" <ji...@apache.org> on 2023/01/03 05:00:00 UTC

[jira] [Created] (AMQ-9187) Queue Advisory message not sent when new queue created via Message which has AMQ_SCHEDULED_DELAY Header

Martin Devlin created AMQ-9187:
----------------------------------

             Summary: Queue Advisory message not sent when new queue created via Message which has AMQ_SCHEDULED_DELAY Header
                 Key: AMQ-9187
                 URL: https://issues.apache.org/jira/browse/AMQ-9187
             Project: ActiveMQ
          Issue Type: Bug
          Components: Job Scheduler
    Affects Versions: 5.17.0, 5.16.1, 5.18.0
            Reporter: Martin Devlin


When a message is sent to a queue which does not currently exist, we expect the queue to be created on the fly. If Advisory Support is turned on, then a subscriber to the 'ActiveMQ.Advisory.Queue' should be notified any time a new queue is created.

When sending the first message to a new queue {*}using an Anonymous JMS Producer{*}, and the AMQ_SCHEDULED_DELAY Header is present (for delayed delivery), the message is put on the queue after the delay timeout and the queue created for the first time.

The bug is that the Advisory Message for the queue being created does *not* get published.

I will submit a PR of a broken unit test demonstrating the issue. Also, I have a fix which I'll submit also so assigning this issue to myself.



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