Class ReactiveStreamsHelper
- java.lang.Object
-
- org.apache.camel.component.reactive.streams.ReactiveStreamsHelper
-
public final class ReactiveStreamsHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DispatchCallback<org.apache.camel.Exchange>attachCallback(org.apache.camel.Exchange exchange, DispatchCallback<org.apache.camel.Exchange> callback)static org.apache.camel.ExchangeconvertToExchange(org.apache.camel.CamelContext context, Object data)static DispatchCallback<org.apache.camel.Exchange>detachCallback(org.apache.camel.Exchange exchange)static <T> TfindInstance(org.apache.camel.CamelContext context, String name, Class<T> type)static DispatchCallback<org.apache.camel.Exchange>getCallback(org.apache.camel.Exchange exchange)static booleaninvokeDispatchCallback(org.apache.camel.Exchange exchange)static booleaninvokeDispatchCallback(org.apache.camel.Exchange exchange, Throwable error)static CamelReactiveStreamsServiceresolveReactiveStreamsService(org.apache.camel.CamelContext context, String serviceType, ReactiveStreamsEngineConfiguration configuration)Helper to lookup/create an instance ofCamelReactiveStreamsServicestatic CamelReactiveStreamsServiceFactoryresolveServiceFactory(org.apache.camel.CamelContext context, String serviceType)
-
-
-
Method Detail
-
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
public static boolean invokeDispatchCallback(org.apache.camel.Exchange exchange, Throwable error)
-
convertToExchange
public static org.apache.camel.Exchange convertToExchange(org.apache.camel.CamelContext context, Object data)
-
findInstance
public static <T> T findInstance(org.apache.camel.CamelContext context, String name, Class<T> type)
-
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)
-
-