Package org.apache.camel.http.common
Interface HttpRegistry
- All Known Implementing Classes:
DefaultHttpRegistry
public interface HttpRegistry
Keeps track of HttpConsumers and CamelServlets and connects them to each other. In OSGi there should be one
HttpRegistry per bundle.
A CamelServlet that should serve more than one bundle should be registered as an OSGi service. The
DefaultHttpRegistry
can then be configured to listen to service changes. See
/examples/camel-example-servlet-httpregistry-blueprint for an example how to use this.-
Method Summary
Modifier and TypeMethodDescriptiongetCamelServlet
(String servletName) void
register
(HttpConsumer consumer) void
register
(HttpRegistryProvider provider) void
unregister
(HttpConsumer consumer) void
unregister
(HttpRegistryProvider provider)
-
Method Details
-
register
-
unregister
-
register
-
unregister
-
getCamelServlet
-