activemq/activemq-broker/src
Martin Devlin 573ae71ec9 AMQ-9187 - Queue Advisory message not sent
- a test case which demonstrates the bug.
  - the first test case sendDelayedMessage_usingNormalProducer works fine because it is using a normal named JMS MessageProducer. Included just for comparison purposes.
  - the 2nd test case sendDelayedMessage_usingAnonymousProducer shows the bug.
- the bug fix: swap the order of the AdvisoryBroker and SchedulerBroker BrokerFilters.
  - make AdvisoryBroker come after SchedulerBroker but before RegionBroker
  - this ensures that when a delayed message gets eventually forwarded to the RegionBroker, the RegionBroker will "see" the AdvisoryBroker when it invokes 'addDestination'. Thus, the AdvisoryBroker gets to send out the advisory message as expected.
2023-10-20 17:39:37 +02:00
..
main AMQ-9187 - Queue Advisory message not sent 2023-10-20 17:39:37 +02:00
test [AMQ-9239] jakarta.jms - activemq-broker changes 2023-08-24 09:45:31 -05:00