Package ca.cdr.api.camel
Interface ICamelRouteEndpointSvc
public interface ICamelRouteEndpointSvc
Service to send messages to camel module routes.
Can be autowired from hybrid providers.
-
Method Details
-
sendToCamelRoute
CompletableFuture<Object> sendToCamelRoute(String theModuleId, String theDirectRouteName, Object theInput, Map<String, Object> theHeaders) Send asynchronous request to camel module/route specified- Parameters:
theModuleId
- the camel target module IDtheDirectRouteName
- the camel target module route IDtheInput
- the input objecttheHeaders
- the request headers- Returns:
- CompletableFuture the asynchronous send response
-