You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2023/01/06 20:33:16 UTC

[GitHub] [camel] Croway commented on a diff in pull request #9001: CAMEL-18779: Replace ActiveMQ with Artemis

Croway commented on code in PR #9001:
URL: https://github.com/apache/camel/pull/9001#discussion_r1063774146


##########
components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/QueueProducerQoSTest.java:
##########
@@ -106,8 +99,9 @@ public void testInOutQueueProducerTTL() throws Exception {
 
         MockEndpoint.assertIsSatisfied(context);
 
-        DestinationViewMBean queue = service.getQueueMBean(TEST_INOUT_DESTINATION_NAME);
-        assertEquals(0, queue.getQueueSize(),
+        //TODO - I've exposed service.getMBeanServer(), do you think it  can be used here?

Review Comment:
   Exactly, I tried to re-implement that test with JMX but Artemis expose a ManagementService that did the trick.



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org