mirror of https://github.com/apache/activemq.git
573ae71ec9
- 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. |
||
---|---|---|
.. | ||
src/test | ||
.gitignore | ||
pom.xml |