Re: Testing JMX with camel-test-junit5

2024-01-01 Thread Claus Ibsen
Hi Have you added camel-management as a dependency. On Tue, Jan 2, 2024 at 2:15 AM Steve973 wrote: > Hello. I have a CamelSpringBootTest, and I am trying to test that my > mbeans have been registered. This is how I am trying to check: > > @CamelSpringTest > @ContextConfiguration > @DirtiesCon

Testing JMX with camel-test-junit5

2024-01-01 Thread Steve973
Hello. I have a CamelSpringBootTest, and I am trying to test that my mbeans have been registered. This is how I am trying to check: @CamelSpringTest @ContextConfiguration @DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD) class DynamicRouterJmxIT { @Autowired C

Re: Adding http(s) compatibility to a component (for discoverable service compatibility)

2024-01-01 Thread Steve973
Thank you for your insight, Claus! While I am trying to add things that will be as useful as possible to people, I do not always know what would be best for the community. Instead of discovery, I will add some component-specific JMX monitoring and control through the @Managed* annotations. This