Interface MainHttpServerFactory


public interface MainHttpServerFactory
Factory for creating an embedded HTTP server for standalone (not Spring Boot or Quarkus).
  • Method Details

    • newHttpServer

      org.apache.camel.Service newHttpServer(org.apache.camel.CamelContext camelContext, HttpServerConfigurationProperties configuration)
      Creates the embedded HTTP server
      Parameters:
      camelContext - the camel context
      configuration - server configuration
      Returns:
      the server as a Service to be managed by CamelContext.
    • newHttpManagementServer

      org.apache.camel.Service newHttpManagementServer(org.apache.camel.CamelContext camelContext, HttpManagementServerConfigurationProperties configuration)
      Creates the embedded HTTP management server
      Parameters:
      camelContext - the camel context
      configuration - server configuration
      Returns:
      the server as a Service to be managed by CamelContext.