public interface RestApiProcessorFactory
RestApiProcessorFactory that creates the Camel Processor responsible for
servicing and generating the REST API documentation.
For example the camel-swagger-java component provides such a factory that uses Swagger to generate the
documentation.| Modifier and Type | Method and Description |
|---|---|
Processor |
createApiProcessor(CamelContext camelContext,
String contextPath,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Processor , which provides API
listing of the REST services
|
Processor createApiProcessor(CamelContext camelContext, String contextPath, RestConfiguration configuration, Map<String,Object> parameters) throws Exception
camelContext - the camel contextcontextPath - the context-pathconfiguration - the rest configurationparameters - additional parametersException - can be thrownApache Camel