Nikita-Shupletsov commented on code in PR #1247:
URL: https://github.com/apache/activemq/pull/1247#discussion_r1833183507
##########
activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicSelectorTest.java:
##########
@@ -99,7 +103,25 @@ protected BrokerService createBroker() throws Exception {
virtualTopic.setSelectorAware(true);
VirtualDestinationInterceptor interceptor = new
VirtualDestinationInterceptor();
interceptor.setVirtualDestinations(new
VirtualDestination[]{virtualTopic});
- broker.setDestinationInterceptors(new
DestinationInterceptor[]{interceptor});
+ TestDestinationInterceptor testInterceptor = new
TestDestinationInterceptor();
Review Comment:
Done. Extracted the test to a new test class. I hope that's what was asked.
thanks!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact