use of org.apache.camel.component.reactive.streams.engine.CamelReactiveStreamsServiceImpl in project camel by apache.
the class CamelReactiveStreamsTest method testDefaultService.
@Test
public void testDefaultService() {
CamelReactiveStreamsService service1 = CamelReactiveStreams.get(context, "default-service");
assertTrue(service1 instanceof CamelReactiveStreamsServiceImpl);
}
use of org.apache.camel.component.reactive.streams.engine.CamelReactiveStreamsServiceImpl in project camel by apache.
the class CamelReactiveStreamsTest method testSameDefaultServiceReturned.
@Test
public void testSameDefaultServiceReturned() {
CamelReactiveStreamsService service1 = CamelReactiveStreams.get(context, "default-service");
CamelReactiveStreamsService service2 = CamelReactiveStreams.get(context, "default-service");
assertTrue(service1 instanceof CamelReactiveStreamsServiceImpl);
assertEquals(service1, service2);
}
Aggregations