Nikita-Shupletsov opened a new pull request, #1247: URL: https://github.com/apache/activemq/pull/1247
`next` is not guaranteed to be Topic. If there is plugin that injects another `DestinationInterceptor`, the code will fail with `ClassCastException`. Added a method to correctly unwrap next. Ran: * AMQ4899Test.java * VirtualTopicSelectorTest.java * JavaVirtualDestTest.java * SelectorAwareVTThatDropsMessagesWhenNoConsumer.java * TwoBrokerVirtualTopicSelectorAwareForwardingTest.java to make sure there is no regression -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact