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 ID
      theDirectRouteName - the camel target module route ID
      theInput - the input object
      theHeaders - the request headers
      Returns:
      CompletableFuture the asynchronous send response