Apache Camel is an open source Java framework. Questions involving one of its components - camel-http - may have this tag.
Questions tagged [camel-http]
68 questions
0
votes
1 answer
camel-http4 proxy setting spring xml
I'm having issues even performing a http request and wondering ... do you provide the leading HTTP:// in setting the proxy settings? is this correct? or do you leave out the http:// ? thank you!

GLMills
- 558
- 1
- 12
- 37
0
votes
1 answer
camel-http4 post not working I get no response
this is my first camel HTTP4 implementation and having trouble. I get no response as if the route to URI is wrong and message goes ??? it doesn't make the HTTP4 call it appears?
using camel-version 2.17.0.redhat-630310, java 8
my pom has dependency
…

GLMills
- 558
- 1
- 12
- 37
0
votes
1 answer
Apache Camel http4 detect endpoint protocol
I'm using Camel 2.18.1 and have a http4 route similar to
{{servicename}} is loaded via BridgePropertyPlaceholderConfigurer so that I can specify the endpoint…

Karl
- 23
- 1
- 5
0
votes
2 answers
http4 not setting HTTP_RESPONSE properties
I have a really simple route that GETs an URL and prints the content using Camel HTTP4 component:
from("timer://foo?fixedRate=true&delay=0&period=10000")
.to("http4://www.google.com")
.process(e -> System.out.println("Out body: " +…

jfneis
- 2,139
- 18
- 31
0
votes
1 answer
Ensure only one TCP connection using Netty4Http
I am trying to send a large number of HTTPS requests using Netty4Http component.
Here is a sample code to test this:
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import…

James Isaac
- 2,587
- 6
- 20
- 30
0
votes
1 answer
Optimizing Camel HTTP4 with KeepAlive
I want to be able to POST messages to an HTTPS server using Camel at a pretty fast rate ( > 1500/sec) using only one connection to the server.
I tried setting keepAlive to true, but I still cant see any improvement in speed.
Took the tcpdump while…

James Isaac
- 2,587
- 6
- 20
- 30
0
votes
1 answer
Camel route with intermediate processing
I need to write a Camel route that would send a file to a web service. Before sending the file to the endpoint, I have to query a database for some information and send the file to the endpoint along with additional information. I would also have to…

user6641655
- 523
- 2
- 8
- 13