Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.16.1, 5.17.0, 5.18.0
-
None
Description
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 in the same PR.