Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

The strapi rest API requires a multipart/form-data upload, were the uploaded files require a key (files). As documented here. I am struggling to create an equivalent to the JavaScript FormData object. ...
Stefan's user avatar
  • 1,273
0 votes
1 answer
140 views

I am creating the following route, which uses NTLM authentication, but 401 is always returned and with the following error from("direct:start") .setHeader(Exchange.HTTP_METHOD, () -> &...
Ruan Ricardo's user avatar
1 vote
1 answer
401 views

Within a Camel route I need to connect to a service with a HTTP GET request and leave the connection open to receive events. The Camel connection never receives events from the service. I can use ...
amccarron's user avatar
1 vote
0 answers
221 views

I am facing out of memory error on using the Apache camel Http component to download/stream a file from a public link to an external system (SharePoint). It seems the component internally is reading ...
Jawad Ahmad's user avatar
1 vote
0 answers
128 views

I am working with Camel Routes (XML) to process a MIME request that contains attachments. I have successfully unmarshalled the request using . However, when I log the body of the unmarshalled request, ...
Subash Chandran's user avatar
0 votes
1 answer
274 views

I am trying to covert jwt token to Object to get access token using spring DSL <to uri="ref:oauthTokenEndpoint" /> <log message="Auth Token Response is ${body} " ...
ravthiru's user avatar
  • 9,741
0 votes
0 answers
364 views

I want to enrich a Camel exchange with content fetched from some external web service. However, when calling that service, I do not want all the headers on my incoming exchange to be mapped onto HTTP ...
Ulrich Schuster's user avatar
1 vote
0 answers
606 views

I'm consuming data from a REST endpoint with in the middle of the route a proxy. I'm having CNTLM running locally (localhost:3128 ): it will authenticate for me on the corporate proxy, so I don't need ...
Hey StackExchange's user avatar
0 votes
1 answer
713 views

I have a JPA consumer route which makes a POST and enriches the original Exchange: @Component public class GetDocumentPlaceholderRoute extends LateDeadLetterRoute { private static final ...
FaraBara's user avatar
  • 115
1 vote
1 answer
3k views

I am curious how I can manage the HTTP REST requests in Apache Camel? I need to iterate through the list of IDs and place the particular ID from the list in HTTP GET request. This list I would receive ...
Andrei Gavrilov's user avatar
0 votes
1 answer
480 views

I'm using Apache Camel's HTTP 4 component for performing a HTTP-PUT request. Before sending the request, I set custom and application dependent headers. One of the header key is 'Date'. But ...
ian_eve's user avatar
  • 117
0 votes
0 answers
916 views

Below is the configured route I am using, to call an external service. services_routes.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3....
tusharRawat's user avatar
0 votes
0 answers
217 views

I'm trying to consume the following url: .to("https4://www.example.com/demo?execute&bridgeEndpoint=true") but apparently the request comes out like this: .to("https4://www.example....
Rdev's user avatar
  • 1
0 votes
1 answer
1k views

I am fairly new to Camel & just managed to implement a use case as below with 2 routes which is using file & http components. Looking for some leads on writing junits for the same. Have tried ...
Arjun's user avatar
  • 11
0 votes
0 answers
726 views

I want to read file(s) from a location, extract the fileName & make a rest call (GET) with the fileName as a request parameter. The file name is required to be passed dynamically as each file will ...
Arjun's user avatar
  • 11
2 votes
0 answers
4k views

I have a route that calls the HTTP component in Camel 3.3. This is working fine and I am trying to catch the HttpOperationFailedException which is being thrown. I have declared the following error ...
Namphibian's user avatar
  • 12.3k
0 votes
2 answers
3k views

I have a camel-spring-boot project where I load the destination url from a yml file with Spring's @ConfigurationProperties. As my destination is a HTTP url I am using camel-http4 component. Now my ...
Abhishek Chatterjee's user avatar
1 vote
0 answers
245 views

I have existing connection using http4(proxyAuthScheme=http4 and endpoint starts with https://<>) and using proxy and using sslContextParametersRef. it was working fine before. now we have ...
Phani's user avatar
  • 11
1 vote
2 answers
1k views

A scenario, need to consume a rest webservice which provides a huge file as a stream output and vice versa need to handle the stream and directly write to a file rather memory. Service : @...
Sudha Brahmeswar Mokshagundam's user avatar
0 votes
0 answers
154 views

I am trying to retrieve an object out of the process method in Camel response. However once I got an empty response in the following code: from("timer://simpleTimer?repeatCount=1").routeId("myroute")...
Rachit's user avatar
  • 403
0 votes
0 answers
392 views

I made an instance of Camel Context and added the routes in the context as follows: camelContext.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { ...
Rachit's user avatar
  • 403
0 votes
1 answer
543 views

I have to send messages to IBM MQ by hitting a rest service. Below is the code I came up with, using Camel XML DSL. <rest path="/basePath"> <post uri="/path" consumes="application/xml" ...
vineeth kumar's user avatar
0 votes
0 answers
60 views

i'm stuck in something that is going me crazy. I'm creating an application which exposes some APIs and map each of these API to some external API, so basically my app is a passtrough. The operation ...
Zhaled Asufian's user avatar
0 votes
0 answers
5k views

I'm trying to make a api call and get payload and enrich the content after unmarshalling the bean object. I can see that unmarshalling the bindy object has been happened but, it is throwing the below ...
TechGeek's user avatar
  • 508
0 votes
2 answers
713 views

<camel:from id="_from2" uri="timer://foo?repeatCount=1"/> <camel:to id="_to2" uri="DBSQLComponent:{{sql.testQuery}}"/> <log id="_log4" message="Received ${body....
Michelle Li's user avatar
1 vote
1 answer
390 views

My problem is I have two different positions in my flat file with "|" seperated string. Position 2 and 3 refer to description. I want to generate xml with both descriptions appended to one description ...
TechGeek's user avatar
  • 508
0 votes
1 answer
677 views

My requirement is to make GET api call based on the content of the body I spitted from flat file.And aggregate the api response with original body and generate xml. Input: 0150519821|0000000078|...
TechGeek's user avatar
  • 508
2 votes
1 answer
3k views

This JSON object below needs to be checked if a key exists or not. If key exists and value is empty then I want set TH as default language. How to do that in camel route? { "languagePreference&...
Aadi's user avatar
  • 1,161
0 votes
2 answers
2k views

I'm using apache camel http4 for http server. JBoss Fuse Karaf container 6.3.0.redhat-310 has bundled camel-core 2.17 - (2.17.0.redhat-630310) I'm trying to use exception class org.apache.camel....
GLMills's user avatar
  • 638
0 votes
0 answers
544 views

Camel endpoint with choice and jsonpath works correctly when tried as an independent endpoint but when I introduce rest endpoint in route configuration choice stops filtering for the content-based ...
Vikrant's user avatar
  • 75
1 vote
0 answers
1k views

I have a Spring Boot app that uses Camel to POST a multipart/form-data request to a REST endpoint. The request includes a text part and a file part. The code that builds the request is as follows: @...
Alberto Zigoni's user avatar
1 vote
1 answer
2k views

I have two file names in following format: Gontagrator_1.xml Gontagrator_2.xml As of now i am picking just Gontagrater_1.xml and rename it to processing and failed once done. + "&fileName=" + ...
fatherazrael's user avatar
  • 6,047
1 vote
1 answer
652 views

I want to start my route by calling an URL. My start-route isn't ready yet, but works perfectly fine. My problem is, that i get an error message when i am using the rest-route, which calls the start-...
Dennis Wiesemann's user avatar
0 votes
0 answers
1k views

I 'm trying to use camel for redirecting an http request based on the contents of the request body. I 've created an endpoint for receiving http requests and I 'm able to successfully redirect my ...
Amal's user avatar
  • 75
0 votes
1 answer
491 views

I use apache camel with activemq and camel-http, after the message is sent to the endpoint and the request fails, I still lose the message from the queue. It is necessary that the message is not lost ...
D. Batmanov's user avatar
0 votes
1 answer
785 views

In one of my use case, i have all my route information in a json file and i want to read the file and create the routes accordingly. for example, if i have declared route like this in my json config ...
James Mark's user avatar
0 votes
1 answer
847 views

I'm trying to move my http4 certificate configuration away from RouteBuilder class and to application.yml file. My code is exactly like the Java example on this page under the "Setting up SSL for HTTP ...
Dule Cux's user avatar
0 votes
1 answer
1k views

I have below camel rest route. Currently all the host is able to access this route using the URL exposed. Is there anyway I can restrict remote host to access based on the IP configured. I want to ...
Jigar Naik's user avatar
  • 2,004
1 vote
0 answers
614 views

I using camel reactive streams and I would like to add content type APPLICATION_JSON_UTF8_VALUE for the response. I tried to add it in map function. Here is my code. @Autowired private ...
Mateusz Sobczak's user avatar
0 votes
1 answer
572 views

We use Apache Camel's camel-http component to integrate with HTTP endpoints, HttpConnectionManagerParams is used to configure defaultconnectionsPerHost and maxTotalConnections. <bean class="org....
Samy's user avatar
  • 2,537
2 votes
0 answers
2k views

In our project we are have a camel (2.23.1) context and in certain situations we would like to terminate the context and all it routes immediately. For this we have the following code: private void ...
Storage's user avatar
  • 103
0 votes
1 answer
417 views

I am new to Apache camel, this is what I am trying to figure out. In a sample code below, I am trying to use the property - "value" in the request param in next polling request. String ...
fenrigne123's user avatar
1 vote
1 answer
1k views

We have to connect out java camel application with an external system over https. In the middle we have a proxy, but this proxy only accepts http connections. I have configured http and https ...
user3756702's user avatar
1 vote
1 answer
5k views

I want to handle errors depending on the http code response. I would also like to know how to enable *throwExceptionOnFailure* on my route. For example, if the response code is 500x, send the message ...
D. Batmanov's user avatar
0 votes
1 answer
2k views

I use camel-apache companent camel-http. I'm trying to set the http method from my custom header. I use blueprint override process: exchange.getOut().setHeader("custom_http_method", "GET"); ...
D. Batmanov's user avatar
1 vote
0 answers
573 views

Can anyone please tell us how to enable jetty logging to analyze the requests & other details(stats[parallel request/no of requests]) in Apache KARAF container. Jetty.xml <Configure class="...
Shriram's user avatar
  • 4,431
1 vote
1 answer
782 views

I have a simple Camel route. I want to extract a file from the queue and pass it by using POST request to an external resource. This route works and the request reaches an external resource: import ...
user avatar
3 votes
1 answer
709 views

To use Camel HTTP4 component - in the documentation, there are options for both HTTP component and and HTTPEndpoint. I understand the difference between endpoint and component (component is a factory ...
SRaj's user avatar
  • 1,368
0 votes
1 answer
775 views

I request a access token from a UAA service. recieve the token. then use the token to upload a file to an AWS environment. now it works with one environment and doesn't work with another. the only ...
GLMills's user avatar
  • 638
0 votes
0 answers
1k views

I'm using Camel-http4 because I simply need a producer, not expose a webservice. I simply need to push files up to an HTTP server, so this is a client implementation. the problem I am facing is the ...
GLMills's user avatar
  • 638