{"id":54615,"library":"camel-test","title":"Apache Camel Test","description":"Unit testing support for Apache Camel routes and processors.","status":"active","version":"3.22.4","language":"java","source_language":null,"source_url":"https://github.com/apache/maven-apache-parent","tags":["camel","testing","integration","junit"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.camel</groupId>\n  <artifactId>camel-test</artifactId>\n  <version>3.22.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.camel:camel-test:3.22.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"CamelTestSupport","correct":"org.apache.camel.test.junit5.CamelTestSupport"}],"quickstart":{"code":"import org.apache.camel.test.junit5.CamelTestSupport;\nimport org.apache.camel.builder.RouteBuilder;\nimport org.junit.jupiter.api.Test;\n\npublic class MyRouteTest extends CamelTestSupport {\n    @Override\n    protected RouteBuilder createRouteBuilder() {\n        return new RouteBuilder() {\n            @Override\n            public void configure() throws Exception {\n                from(\"direct:start\").to(\"mock:result\");\n            }\n        };\n    }\n\n    @Test\n    public void testRoute() throws Exception {\n        template.sendBody(\"direct:start\", \"Hello\");\n        getMockEndpoint(\"mock:result\").expectedMessageCount(1);\n        assertMockEndpointsSatisfied();\n    }\n}","lang":"java","description":"Test Camel routes with JUnit 5"},"warnings":[{"fix":"Use org.apache.camel:camel-test-junit5 instead.","message":"camel-test is deprecated in favor of camel-test-junit5 for JUnit 5 support.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'apach':1,8 'camel':2,9,13 'integr':15 'junit':16 'processor':12 'rout':10 'support':6 'test':3,5,14 'unit':4","created_at":"2026-06-15T09:16:24.698371+00:00","updated_at":"2026-06-15T09:16:24.698371+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-test/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}