{"id":65224,"library":"camel-servlet","title":"Camel Servlet","description":"Apache Camel servlet transport support for HTTP-based routing.","status":"active","version":"4.20.0","language":"java","source_language":null,"source_url":"https://github.com/apache/maven-apache-parent","tags":["camel","servlet","http","integration"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.camel</groupId>\n  <artifactId>camel-servlet</artifactId>\n  <version>4.20.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.camel:camel-servlet:4.20.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ServletComponent","correct":"org.apache.camel.component.servlet.ServletComponent"}],"quickstart":{"code":"import org.apache.camel.component.servlet.ServletComponent;\nimport org.apache.camel.CamelContext;\nimport org.apache.camel.impl.DefaultCamelContext;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        CamelContext context = new DefaultCamelContext();\n        context.addComponent(\"servlet\", new ServletComponent());\n        context.start();\n        Thread.sleep(1000);\n        context.stop();\n    }\n}","lang":"java","description":"Registers the servlet component in a Camel context."},"warnings":[{"fix":"Use Camel 3.x for Java 11 compatibility.","message":"Camel 4.x requires Java 17+; older versions use Java 11.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'apach':3 'base':11 'camel':1,4,13 'http':10,15 'http-base':9 'integr':16 'rout':12 'servlet':2,5,14 'support':7 'transport':6","created_at":"2026-06-17T17:07:20.701055+00:00","updated_at":"2026-06-17T17:07:20.701055+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.apache.org/","github":"https://github.com/apache/maven-apache-parent","docs":"https://appdoc.app/artifact/org.apache.camel/camel-servlet/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}