Registry / http-client / camel-http4

camel-http4

JSON →
library2.25.4javamavenunverified

Camel HTTP component using Apache HttpClient 4.x for HTTP communication.

<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http4</artifactId> <version>2.25.4</version> </dependency>
INSTALL
IMPORT
SIG · CAMEL-HTTP4
C
camel-http4
http-clientjavav2.25.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpComponent
org.apache.camel.component.http4.HttpComponent

Send HTTP request using Camel HTTP4 component

import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.impl.DefaultCamelContext; public class Http4Example { public static void main(String[] args) throws Exception { CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { @Override public void configure() { from("direct:start") .to("http4://example.com/api"); } }); context.start(); } }
Debug
Known issues
breakingcamel-http4 is deprecated in favor of camel-http (based on HttpClient 5).
fix
Migrate to camel-http component for new projects.
affects: >=3.0.0
Upgrade
Version history
2.25.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
24
OpenAI (training)
1
Resources
camel-http4 — mvn dependency:get camel-http4 · libregistry