Class ReactiveStreamsHelper
java.lang.Object
org.apache.camel.component.reactive.streams.ReactiveStreamsHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic DispatchCallback<org.apache.camel.Exchange>
attachCallback
(org.apache.camel.Exchange exchange, DispatchCallback<org.apache.camel.Exchange> callback) static org.apache.camel.Exchange
convertToExchange
(org.apache.camel.CamelContext context, Object data) static DispatchCallback<org.apache.camel.Exchange>
detachCallback
(org.apache.camel.Exchange exchange) static <T> T
findInstance
(org.apache.camel.CamelContext context, String name, Class<T> type) static DispatchCallback<org.apache.camel.Exchange>
getCallback
(org.apache.camel.Exchange exchange) static boolean
invokeDispatchCallback
(org.apache.camel.Exchange exchange) static boolean
invokeDispatchCallback
(org.apache.camel.Exchange exchange, Throwable error) static CamelReactiveStreamsService
resolveReactiveStreamsService
(org.apache.camel.CamelContext context, String serviceType, ReactiveStreamsEngineConfiguration configuration) Helper to lookup/create an instance ofCamelReactiveStreamsService
resolveServiceFactory
(org.apache.camel.CamelContext context, String serviceType)
-
Method Details
-
getCallback
public static DispatchCallback<org.apache.camel.Exchange> getCallback(org.apache.camel.Exchange exchange) -
attachCallback
public static DispatchCallback<org.apache.camel.Exchange> attachCallback(org.apache.camel.Exchange exchange, DispatchCallback<org.apache.camel.Exchange> callback) -
detachCallback
public static DispatchCallback<org.apache.camel.Exchange> detachCallback(org.apache.camel.Exchange exchange) -
invokeDispatchCallback
public static boolean invokeDispatchCallback(org.apache.camel.Exchange exchange) -
invokeDispatchCallback
-
convertToExchange
public static org.apache.camel.Exchange convertToExchange(org.apache.camel.CamelContext context, Object data) -
findInstance
-
resolveReactiveStreamsService
public static CamelReactiveStreamsService resolveReactiveStreamsService(org.apache.camel.CamelContext context, String serviceType, ReactiveStreamsEngineConfiguration configuration) Helper to lookup/create an instance ofCamelReactiveStreamsService
-
resolveServiceFactory
public static CamelReactiveStreamsServiceFactory resolveServiceFactory(org.apache.camel.CamelContext context, String serviceType)
-