Interface MainHttpServerFactory


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

    Modifier and Type
    Method
    Description
    org.apache.camel.Service
    newHttpServer(org.apache.camel.CamelContext camelContext, HttpServerConfigurationProperties configuration)
    Creates the embedded HTTP server
  • 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.