3 sur 44 Camel-HTTP disableStreamCache=true bug ?

2024-06-21 Thread Ryan Ikhlef
Hello, I'm facing a weird behavior on the Camel-HTTP component (4.2.2) when I want to use the "disableStreamCache=true" configuration specified in this page : https://camel.apache.org/components/4.4.x/http-component.html. When this option is set to true, the stream is consum

Re: camel-http: $USER:$PASSWORD@$SERVER notation for basic auth no longer supported?

2023-11-22 Thread Claus Ibsen
On Wed, Nov 22, 2023 at 7:17 PM Pascal Schumacher wrote: > Hi, > > while migrating a Project from Camel 3 to Camel 4 I noticed that the > $USER:$PASSWORD@$SERVER notation for basic authentication no longer works. > > `to("https://USER:PASSWORD@localhost > :8080/example?authenticationPreemptive=tr

camel-http: $USER:$PASSWORD@$SERVER notation for basic auth no longer supported?

2023-11-22 Thread Pascal Schumacher
Hi, while migrating a Project from Camel 3 to Camel 4 I noticed that the $USER:$PASSWORD@$SERVER notation for basic authentication no longer works. `to("https://USER:PASSWORD@localhost:8080/example?authenticationPreemptive=true";)` works in Camel 3.21.2 but fails in Camel 4.0.3 with: org.apach

Re: Camel HTTP/2 support

2023-10-09 Thread Alphonse Bendt
Thanks, I had already tried out the http component. Now I also tried out netty, undertow and vert.x http. All of them don’t seem to support http/2. Looks like the rest component just uses the mentioned components. So i will go with the custom processor for now. Alphonse > Am 08.10.2023 um 23:

Re: Camel HTTP/2 support

2023-10-08 Thread ski n
Camel provides various HTTP clients like: 1. http (https://camel.apache.org/components/4.0.x/http-component.html) 2. netty http ( https://camel.apache.org/components/4.0.x/netty-http-component.html) 3. vert.x http ( https://camel.apache.org/components/4.0.x/vertx-http-component.html) 4. rest (http

Camel HTTP/2 support

2023-10-08 Thread Alphonse Bendt
Hi folks, How can I use Camel to send HTTP/2 requests to an existing HTTP/2 endpoint? I tried out the http-component and it does not seem to support http/2. Are there any other camel components available that support that? Are there any plans to extend the http-component with http/2 support? Wha

Re: how to create Camel HTTP route with async handling

2022-10-04 Thread Chirag
In your scenario, how do you invoke route 1 from source ? On Mon, Oct 3, 2022, 06:10 Chio Chuan Ooi wrote: > Hi, > > But in the camel route, how to have the route to wait for the webhook. > > Eventually, I need to expose 2 http consumer routes which 1 is for the > request and another is for the

Re: how to create Camel HTTP route with async handling

2022-10-02 Thread Chio Chuan Ooi
Hi, But in the camel route, how to have the route to wait for the webhook. Eventually, I need to expose 2 http consumer routes which 1 is for the request and another is for the webhook. After the request receipt from route 1, it will make an async call then holding the thread and waiting for the

Re: how to create Camel HTTP route with async handling

2022-09-27 Thread ski n
With the Jetty component you set the option: *continuationTimeout* to 0 which means it will never expire (default is 30 seconds). When you use a JMS Broker (like ActiveMQ) there also an option to set the request Timout ( https://camel.apache.org/components/3.18.x/jms-component.html) and for Kafka

Re: how to create Camel HTTP route with async handling

2022-09-27 Thread chiochuan
Hi,I looking with async components that can do like below Flowchart Maker & Online Diagram Softwareviewer.diagrams.netWhich the http component can wait for callback before responding back to the request ThanksOn 26 Sep 2022, at 11:18 PM, Jeremy Ross wrote:The REST component as well.https://camel.

Re: how to create Camel HTTP route with async handling

2022-09-26 Thread Jeremy Ross
The REST component as well. https://camel.apache.org/components/3.18.x/rest-component.html On Mon, Sep 26, 2022 at 8:40 AM ski n wrote: > I would check the Jetty component: > > https://camel.apache.org/components/3.18.x/jetty-component.html > > The Jetty component can consume HTTP requests and

Re: how to create Camel HTTP route with async handling

2022-09-26 Thread ski n
I would check the Jetty component: https://camel.apache.org/components/3.18.x/jetty-component.html The Jetty component can consume HTTP requests and pass it to Kafka. Raymond On Sun, Sep 25, 2022 at 4:14 PM Chio Chuan Ooi wrote: > Hi All, > > I am trying to create an application which can e

how to create Camel HTTP route with async handling

2022-09-25 Thread Chio Chuan Ooi
Hi All, I am trying to create an application which can expose the http route which publishes messages to kafka and can listen to all webhook to return to as a response. Is there any component in Camel that I can use for that purpose? ,-. ,-.,-. |camel|

Re: path parameter from Camel HTTP endpoints

2022-04-29 Thread Claus Ibsen
xtract-path-parameters-from-camel-http-endpoints > , but there is no satisfying answer and despite the fact, I was looking > throw the internet, I have fount nothing, so sorry, if it is already > answered but I would appreciate any help. > > > > I am using apache karaf

path parameter from Camel HTTP endpoints

2022-04-28 Thread Jozef Bouda
Hi, I have this issue, identical with issue on SO: https://stackoverflow.com/questions/32867844/clean-way-extract-path-parameters-from-camel-http-endpoints , but there is no satisfying answer and despite the fact, I was looking throw the internet, I have fount nothing, so sorry, if it is

Re: How to retrieve source port: Camel-HTTP

2022-01-10 Thread Claus Ibsen
Hi I suggest that you look at Http Client to see if they offer any API / method to get this information. As that would be needed if Camel should be able to get this information too. On Thu, Jan 6, 2022 at 8:57 AM Vidyashree N S wrote: > > Hello, > We are using camel-http component in

How to retrieve source port: Camel-HTTP

2022-01-05 Thread Vidyashree N S
Hello, We are using camel-http component in order to connect and communicate to outbound HTTP interfaces. Currently we have a requirement to read or identify the source port assigned (can be random/dynamic port value) for such communication. The connection pool is handled internally by Camel

Camel- http-3.4.0 cpu usage high

2020-12-08 Thread Gv, Shivakumar
Hi Team, We recently upgraded from camel 2.24.x to 3.4.0 , now we are facing perf issue with camel http client which is consuming more cpu . in 2.24.x it was very good. Below 2 classes are causing more cpu usage. org.apache.http.impl.io.SessionInputBufferImpl.stremRead

Re: Camel HTTP Component is not allowing underscores in the hostname

2020-02-11 Thread Claus Ibsen
Hi You can extend the http4 component yourself and then try to see if you can override (and copy the source if needed) from the existing component to add in your workaround. underscores are forbidden for hostnames so its an invalid name. You can maybe also try to add a DNS name "hack" in etc/hos

Camel HTTP Component is not allowing underscores in the hostname

2020-02-11 Thread Padma-Priya Kowlwar -Extern
Hello Everybody, We are trying to connect to a https endpoint from our camel route using http4 component which has an underscore in the hostname. The endpoint looks like https://x_y.abc.zu.dw:1243/path and we receive an error message "Invalid uri: https:/path?chunked=true&httpClient.connectTi

Re: Camel http - simple proxy authentication //error

2020-01-11 Thread Chio Chuan Ooi
0, 7:53 am Reji Mathews, wrote: > Hello Camel Community > > I have a camel http producer endpoint configured as follows. I have an > authenticated proxy server running at proxyserver.reji.com at port 8080. > I have username and passwords configured below as well. Any help would

Camel http - simple proxy authentication //error

2020-01-11 Thread Reji Mathews
Hello Camel Community I have a camel http producer endpoint configured as follows. I have an authenticated proxy server running at proxyserver.reji.com at port 8080. I have username and passwords configured below as well. Any help would save my day :) .to("http://host?throwExceptionOnFa

Re: camel-http-starter causing problem with KubernetesClusterServiceAutoConfiguration problem

2019-09-18 Thread Onder SEZGIN
ml#boot-features-startup-failure >> > >> > On Wed, Sep 11, 2019 at 5:37 PM Onder SEZGIN >> > wrote: >> > > >> > > Hi, >> > > >> > > i have a very similar usecase where i need to implement something very >> > >

Re: camel-http-starter causing problem with KubernetesClusterServiceAutoConfiguration problem

2019-09-16 Thread Onder SEZGIN
.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-spring-application.html#boot-features-startup-failure > > > > On Wed, Sep 11, 2019 at 5:37 PM Onder SEZGIN > > wrote: > > > > > > Hi, > > > > > > i have a very similar usec

Re: camel-http-starter causing problem with KubernetesClusterServiceAutoConfiguration problem

2019-09-12 Thread Andrea Cosentino
l#boot-features-startup-failure > > On Wed, Sep 11, 2019 at 5:37 PM Onder SEZGIN > wrote: > > > > Hi, > > > > i have a very similar usecase where i need to implement something very > > similar what Nicola has written while ago. > > > > in my app,

Re: camel-http-starter causing problem with KubernetesClusterServiceAutoConfiguration problem

2019-09-11 Thread Zoran Regvart
ago. > > in my app, i have the very similar configuration and i also needed to > use camel-http-starter. > (of course there are bits and pieces but later on i narrowed down the error > that the issue is due to camel-http-starter) > > so simply in my final attempt, what i did

camel-http-starter causing problem with KubernetesClusterServiceAutoConfiguration problem

2019-09-11 Thread Onder SEZGIN
Hi, i have a very similar usecase where i need to implement something very similar what Nicola has written while ago. in my app, i have the very similar configuration and i also needed to use camel-http-starter. (of course there are bits and pieces but later on i narrowed down the error that the

Rép. : Rest Service / redirect with camel-http / No serializer found for class org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream

2018-02-22 Thread Daniel Langevin
/dummyhost> and now it Works. Thank's Daniel >>> "Daniel Langevin" 2018-02-22 14:20 >>> Hi, i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7 this service redirect with camel‑http to another URL. like http://serverA.org:81

Rest Service / redirect with camel-http / No serializer found for class org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream

2018-02-22 Thread Daniel Langevin
Hi, i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7 this service redirect with camel-http to another URL. like http://serverA.org:8181/rest/XXX/geocode/30%20rue%20larue,%20quebec/adress/geom redirect to http://www.servername.org/search/geocode?q=300%20rue%20larue

Re: Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-28 Thread urwithsumit
Thanks Tomo for sharing your thoughts. I got the problem solved by switching from Camel-Http to Camel-Http4 component. With Http4 i was able to set the headers for closing the connections and also a timeout period. In case of Http, the connections were not closing and that was accounting towards

Re: Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-25 Thread Tomohisa Igarashi
.lang.Throwable true -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-I-O-exception-java-net-SocketException-caught-

Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-25 Thread urwithsumit
.Throwable true -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-I-O-exceptio

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-07 Thread Goyal, Arpit
Hi Souciance, Any luck in solving the puzzle? Regards, Arpit. -Original Message- From: souciance [mailto:souciance.eqdam.ras...@gmail.com] Sent: Wednesday, April 5, 2017 11:06 PM To: users@camel.apache.org Subject: RE: Camel Http vs Camel Http4 - Content Type Header Hi, I can take a

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-05 Thread souciance
import and fix the 'package' and 'logger' to remove errors. > 'createRouteBuilder' method at the end has the two routes using camel-http > and camel-http4. The URLs are constants. > > I am using the SAP Cloud Identity API [1] which expects Content-Type: &g

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-05 Thread Goyal, Arpit
Hi souciance, Below is the complete test case I have written to debug this problem. You can import and fix the 'package' and 'logger' to remove errors. 'createRouteBuilder' method at the end has the two routes using camel-http and camel-http4. The URLs are constan

Re: Camel Http vs Camel Http4 - Content Type Header

2017-04-04 Thread souciance
en though > we have set the Content-Type to be NULL - This is NOT the case with > HttpProducer - from camel-http library. > > > > By enabling the apache commons log, the headers are clearly visible. > > > > The end-system we are invoking throws '415' due to the w

Re: Camel Http vs Camel Http4 - Content Type Header

2017-04-04 Thread Goyal, Arpit
en though we > have set the Content-Type to be NULL - This is NOT the case with HttpProducer > - from camel-http library. > > By enabling the apache commons log, the headers are clearly visible. > > The end-system we are invoking throws '415' due to the wrong Conte

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-03 Thread Goyal, Arpit
Hi Claus, HttpProduce -- from camel-http4 library is setting the content-type 'text/plain' in method [1] line # 488 (camel version 2.16.3) even though we have set the Content-Type to be NULL - This is NOT the case with HttpProducer - from camel-http library. By enabling the apac

RE: Camel Http vs Camel Http4 - Content Type Header

2017-02-09 Thread Goyal, Arpit
Subject: Re: Camel Http vs Camel Http4 - Content Type Header Well it should be pretty easy to setup a http server and see what headers your route are sending and compare that to what the actual server wants. If camel-http4 is suppressing some headers then perhaps try another component. On Thu, Feb 9

Re: Camel Http vs Camel Http4 - Content Type Header

2017-02-09 Thread souciance
ode+s465427n5793736...@n5.nabble.com> wrote: > Hi, > > We were on Camel-Http (2.16) and moving to Camel-Http4 (2.16) and saw that > URL which worked with Camel-http now fails with Camel-Http4 with status > code - 415 (Unsupported Media

Camel Http vs Camel Http4 - Content Type Header

2017-02-09 Thread Goyal, Arpit
Hi, We were on Camel-Http (2.16) and moving to Camel-Http4 (2.16) and saw that URL which worked with Camel-http now fails with Camel-Http4 with status code - 415 (Unsupported Media Type). Caused by: org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking

Re: How to test Camel-http outbound calls

2016-09-25 Thread Tadayoshi Sato
; Is such kind of integration test standard practice with camel HTTP (or > SOAP) outbound calls? > > Also, we regularly update our camel version to pick the latest version. > Sometimes jars could be missed and such test helps in through unresolved > runtime-dependencies. So think

How to test Camel-http outbound calls

2016-09-24 Thread Goyal, Arpit
talks about using Jetty consumer to verify whether http calls are successful making it more of an integration test rather than unit test. Is such kind of integration test standard practice with camel HTTP (or SOAP) outbound calls? Also, we regularly update our camel version to pick the latest

Camel Issue : How to map the response for the REST request by Apache camel HTTP component

2016-08-22 Thread Udara Seneviratne
Hi, Please be kind enough to go through the following issue and provide necessary support. http://stackoverflow.com/questions/39076452/how-to-map-the-response-for-the-rest-request-by-apache-camel-http-component Best Regards from Udara Seneviratne

Unable to configure “Keep Alive” in Camel HTTP component

2016-08-01 Thread Markus.Zimmer
Hello, I asked the question on Stackoverflow (http://stackoverflow.com/questions/38701588/unable-to-configure-keep-alive-in-camel-http-component) but it might be a good idea to ask here too: I'm having some troubles with the right setup of the HTTP component. Currently a microservice pulls

Re: Camel HTTP response body is empty though the exchange body has the payload

2016-07-19 Thread Claus Ibsen
vice is always empty. > > Has someone faced this issue before? If so, is there a work-around? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-HTTP-response-body-is-empty-though-the-exchange-body-has-the-payload-tp5785217.html > Sent from the

Camel HTTP response body is empty though the exchange body has the payload

2016-07-19 Thread karthik Subramanian
lways empty. Has someone faced this issue before? If so, is there a work-around? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-response-body-is-empty-though-the-exchange-body-has-the-payload-tp5785217.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP response body is empty though the exchange body has the payload

2016-07-19 Thread karthik Subramanian
I did try setting the body in the out component of the exchange. But still the HTTP response is empty. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-response-body-is-empty-though-the-exchange-body-has-the-payload-tp5785217p5785221.html Sent from the Camel

Re: Camel HTTP response body is empty though the exchange body has the payload

2016-07-18 Thread souciance
nse is empty. > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Camel-HTTP-response-body-is-empty-though-the-exchange-body-has-the-payload-tp5785217p5785221.html > To start a new topic und

Re: Camel HTTP response body is empty though the exchange body has the payload

2016-07-18 Thread souciance
so, is there a work-around? > > ------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Camel-HTTP-response-body-is-empty-though-the-exchange-body-has-the-payload-tp5785217.html > To

Re: Camel Http Component

2016-04-18 Thread VinothKR
: http://camel.465427.n5.nabble.com/Camel-Http-Component-tp5781196p5781299.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Http Component

2016-04-15 Thread VinothKR
Hi Team, I need to pass a Java model object to rest webservice using camel http component. Please provide me some pointers on how to achieve it. something in the route like, and since no other way is available to add dynamic url parameters we need to pass it through set headers like

Re: soTimeout ignored by camel http component

2016-02-04 Thread yuktisinghal
In my application camel version is 2.14, i tried using EIN BU ut i am not getting how ti use it for setting timeout fir each request.could you please explain it with an example?? -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component

Re: soTimeout ignored by camel http component

2016-02-03 Thread Andreas Siepert
this message in context: > http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5777182.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: soTimeout ignored by camel http component

2016-02-03 Thread yuktisinghal
.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5777182.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-http-common 2.16.1 includes Servlet API 3.0

2016-01-14 Thread nascha
Camel 2.16, then maybe camel-jetty should use 3.0 instead of 3.1? -- View this message in context: http://camel.465427.n5.nabble.com/camel-http-common-2-16-1-includes-Servlet-API-3-0-tp5776203p5776235.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-http-common 2.16.1 includes Servlet API 3.0

2016-01-13 Thread Willem Jiang
ty9: "two conflicting and different versions of several classes > [are included]. Both the Servlet API 3.0 version and Servlet API 3.1 version > are included as (transitive) dependencies." > > This same issue is caused in 2.16.1 by camel-http-common which depends on > geroni

camel-http-common 2.16.1 includes Servlet API 3.0

2016-01-13 Thread nascha
(transitive) dependencies." This same issue is caused in 2.16.1 by camel-http-common which depends on geronimo-servlet_3.0_spec So a project with both camel-jetty (now using 3.1) and camel-http4 (which includes camel-http-common, now using 3.1) will have the two conflicting specs. Could this be

How can i limit retrying CAMEL HTTP REQUEST (setting timeout and Redeliveries)?

2015-10-12 Thread zied123456
retrying-CAMEL-HTTP-REQUEST-setting-timeout-and-Redeliveries-tp5772568.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel http v/s cxfrs component to consume REST service

2015-08-19 Thread Sergey Beryozkin
s null] As you can see i am getting my response from the Web service in the Payload part. It is a simple GET request that returns a string - "Hi There!!!". I am trying to display the same using the ${body} in the log component, but what i am getting is null Body and the BodyType too

camel http v/s cxfrs component to consume REST service

2015-08-19 Thread calyan.bandi
ody} in the log component, but what i am getting is null Body and the BodyType too is set to null. I tried the same using camel http component. The route looks as below: GET

A maybe basic question of camel http proxy pattern

2015-06-24 Thread cloud
ssage in context: http://camel.465427.n5.nabble.com/A-maybe-basic-question-of-camel-http-proxy-pattern-tp5768529.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel - Http Timeout

2014-12-08 Thread Supreet
n.timeout. Is there any other way to do it ? Thanks in advance for your help. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Http-Timeout-tp5760355.html Sent from the Camel - Users mailing list archive at Nabble.com.

Log in- and outbound camel http messages

2014-10-27 Thread Andreas Pokrzywinski
f.e. the value "http://test.de:8080";. How to get this? Thanks and regards Andreas Sorry, I don't know, how to embed code into this post. This message is a copy of: https://stackoverflow.com/questions/26572435/log-in-and-outbound-camel-http-messages -- View this message in co

Re: soTimeout ignored by camel http component

2014-01-21 Thread toomanyedwards
Good point! I'll look into it. Thanks again! -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746303.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: soTimeout ignored by camel http component

2014-01-21 Thread Claus Ibsen
ach http endpoint. Just my $0.02. Thanks again for your help! > > -e > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746298.html > Sent from the Camel - Users mailing list archive at N

Re: soTimeout ignored by camel http component

2014-01-21 Thread toomanyedwards
docs were more explicit as to what settings are global to the http component and which are specific to each http endpoint. Just my $0.02. Thanks again for your help! -e -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746298.htm

Re: soTimeout ignored by camel http component

2014-01-21 Thread Claus Ibsen
t=500"; and > "http://myservicebar?httpClient.soTimeout=2500";) or is the timeout global > for a route? That is, do all http endpoints in a route use a single > connection manager with a global timeout? > > -e > > > > -- > View this message in context: > h

Re: soTimeout ignored by camel http component

2014-01-21 Thread toomanyedwards
a route use a single connection manager with a global timeout? -e -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746295.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: soTimeout ignored by camel http component

2014-01-21 Thread toomanyedwards
ce.com but would use the timeout set by the dummyUri? -e -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746292.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: soTimeout ignored by camel http component

2014-01-21 Thread Claus Ibsen
nge.HTTP_URI header (e.g. - > http://myservice.com) and in the example my route would use > http://myservice.com but would use the timeout set by the dummyUri? > > -e > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-

Re: soTimeout ignored by camel http component

2014-01-21 Thread Claus Ibsen
y feedback. We have been very happy with using camel in our > project and this is the first thing we've come across that I'd characterize > as a major bug, but hopefully I'm mistaken here. Thanks again! > > -e > > > > -- > View this message in context: &

soTimeout ignored by camel http component

2014-01-21 Thread toomanyedwards
erize as a major bug, but hopefully I'm mistaken here. Thanks again! -e -- View this message in context: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-http client handling 503 error

2013-11-26 Thread pchakinala
Hi, We are using Camel-2.8.3 and SMX -4.4.X. Our usecase flow is like below. Client ---> Camel-http client > Http Service We were able to handle/ catch all the exceptions and observed that when HTTP 503 (service not available) error occurred control is going to custom exception h

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-20 Thread Alex Anderson
On 15 September 2013 05:36, Christian Posta wrote: > Alex, > > As Christian M. points out, use the camel config on the endpoint, not the > way you're doing in your OP. > > Cheers > > > On Wed, Sep 11, 2013 at 6:03 AM, Alex Anderson wrote: > >> On 10 September 2013 22:49, Christian Müller >> wrote

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-14 Thread Christian Posta
Alex, As Christian M. points out, use the camel config on the endpoint, not the way you're doing in your OP. Cheers On Wed, Sep 11, 2013 at 6:03 AM, Alex Anderson wrote: > On 10 September 2013 22:49, Christian Müller > wrote: > > Did you tried setting the proxy host/port as we described here

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-14 Thread Christian Müller
I mean something like this [1]. As I understood your post, you try to achieve this by setting system properties and/or camel context properties... [1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-http/src/test/java/org/apache/camel/component/http

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
Yes, that was the right one! Now I understand my whole problem... such a subtle but important point! Thanks a lot, Claus! -- View this message in context: http://camel.465427.n5.nabble.com/camel-http-keeps-throwing-exception-regardless-of-throwExceptionOnFailure-value-tp5739143p5739173.html

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread Claus Ibsen
lure=false with statusCode: 404 > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-http-keeps-throwing-exception-regardless-of-throwExceptionOnFailure-value-tp5739143p5739153.html > Sent from the Camel - Users mailing list archive at Nabb

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
message in context: http://camel.465427.n5.nabble.com/camel-http-keeps-throwing-exception-regardless-of-throwExceptionOnFailure-value-tp5739143p5739153.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread Claus Ibsen
delivery attempt: 0 caught: > org.apache.camel.component.http.HttpOperationFailedException: HTTP operation > failed invoking http://www.google.fr/ju?throwExceptionOnFailure=false with > statusCode: 405/ > > I have tried it two ways : > According to camel-http doc <http://camel.apache.org/http.html> : >

camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
oggingLevel.ERROR,"Return code KO : " + Integer.toString(responseCode),runInDebugMode);break; } // ... If any of you have a tip here, or could point out my mistake, she/he is welcome! Thanks in advance -- View this message in context: http://camel.4

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-11 Thread Alex Anderson
On 10 September 2013 22:49, Christian Müller wrote: > Did you tried setting the proxy host/port as we described here [1]? Hi Christian, Thanks for the suggestion. Do you mean something other than what I referred to in my original post? >camelContext.properties['http.proxyHost'] = > System

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-10 Thread Christian Müller
Did you tried setting the proxy host/port as we described here [1]? [1] http://camel.apache.org/http.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member:

Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-05 Thread Alex Anderson
I'm writing some test code which uses and HTTP/HTTPS proxy to mock 3rd party webservices. For non-camel code, I configure the proxy using the java system properties: http.proxyHost, http.proxyPort, https.proxyHost, https.proxyPort, http.nonProxyHosts. These settings seem to be ignored by camel, s

Re: Camel HTTP component vs. Apache HTTP client

2013-07-24 Thread humayun0156
yes @Partha is right. i used the HttpEndpoints options "httpClient.authenticationPreemptive=true" in my url and the download time per xml reduced to 250-300ms. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p57

Re: Camel HTTP component vs. Apache HTTP client

2013-07-24 Thread partha
the time to download. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5736197.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-22 Thread humayun0156
HelperBean.java <http://paste.ubuntu.com/5899832/> ObjectCreatoinProcessor.java <http://paste.ubuntu.com/5899836/> -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5736005.html Sent from the Camel - Users

Re: Camel HTTP component vs. Apache HTTP client

2013-07-22 Thread Raul Kripalani
gt;.process(new ObjectCreationProcess(xmlToObjectMapping)); > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735974.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Willem Jiang
context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735995.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
my xml files are not more than 5kb and i don't want to cache them. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735995.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Willem Jiang
("${body}")) > .to("http4://dummyHost.com?" + npAuthenticationString) > .convertBodyTo(Document.class) > .bean(HelperBean.class, "setUrlETagMapping") > .process(new ObjectCreationProcess(xmlToObjectMapping)

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
new ObjectCreationProcess(xmlToObjectMapping)); -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735974.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Raul Kripalani
ct to camel or not. > > Thanks > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735960.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
porntat. we should decide whether we should port our project to camel or not. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735960.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Raul Kripalani
tch.stop(); > > > The StringBodyProcessor is simply to set the url in the exchange body. > The ObjectCreationgProcess is simply to create a new Object of the > downloaded xml. > > My producer template is in a recursive loop. > > and my resourceURI is looks lik

Re: Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread humayun0156
topWatch.stop(); The StringBodyProcessor is simply to set the url in the exchange body. The ObjectCreationgProcess is simply to create a new Object of the downloaded xml. My producer template is in a recursive loop. and my resourceURI is looks like : http://mysite.com/users/{id} -- View

Re: Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread Christian Müller
00-800 ms but if i used for same request using Apache HTTP client > then it took 300-400 ms. Is it expected behavior or i misuse of camel's > HTTP > component? > Any idea? > > Thanks in advance. > > > > -- > View this message in context: > http://camel.46542

Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread humayun0156
of camel's HTTP component? Any idea? Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enable wire logs on Camel HTTP Proxy

2013-03-20 Thread Raul Kripalani
Can you show us exactly where you are inserting your log statements? A log statement between the servlet endpoint and the http4 one should display what you're after. Sent while on the move On 7 Mar 2013 18:36, "rouble" wrote: > Willem, Scott, Claus et al, > > Appreciate all your input. So, is t

  1   2   3   >