Search in sources :

Example 1 with RoutesHealthCheckRepository

use of org.apache.camel.impl.health.RoutesHealthCheckRepository in project camel-quarkus by apache.

the class MicroProfileHealthCamelChecksDisabledTest method routesHealthCheckNull.

@Test
public void routesHealthCheckNull() {
    RoutesHealthCheckRepository routesRepository = context.getRegistry().lookupByNameAndType("routes", RoutesHealthCheckRepository.class);
    assertNull(routesRepository);
}
Also used : RoutesHealthCheckRepository(org.apache.camel.impl.health.RoutesHealthCheckRepository) QuarkusUnitTest(io.quarkus.test.QuarkusUnitTest) Test(org.junit.jupiter.api.Test)

Example 2 with RoutesHealthCheckRepository

use of org.apache.camel.impl.health.RoutesHealthCheckRepository in project camel-quarkus by apache.

the class MicroProfileHealthEnabledTest method routesHealthCheckNotNull.

@Test
public void routesHealthCheckNotNull() {
    RoutesHealthCheckRepository routesRepository = context.getRegistry().lookupByNameAndType("routes", RoutesHealthCheckRepository.class);
    assertNotNull(routesRepository);
}
Also used : RoutesHealthCheckRepository(org.apache.camel.impl.health.RoutesHealthCheckRepository) QuarkusUnitTest(io.quarkus.test.QuarkusUnitTest) Test(org.junit.jupiter.api.Test)

Aggregations

QuarkusUnitTest (io.quarkus.test.QuarkusUnitTest)2 RoutesHealthCheckRepository (org.apache.camel.impl.health.RoutesHealthCheckRepository)2 Test (org.junit.jupiter.api.Test)2