Re: camel http4 websphere

2021-11-09 Thread Zoran Regvart
Hi John, On Tue, Nov 9, 2021 at 7:52 PM John Ross wrote: > How can we set camel http4 sslcontextparameters for the keystore that is > configured in the Websphere Application Server? On WebSphere you need to use the com.ibm.websphere.ssl.JSSEHelper API to get the SSLContext which you can

camel http4 websphere

2021-11-09 Thread John Ross
Hi, How can we set camel http4 sslcontextparameters for the keystore that is configured in the Websphere Application Server? Thanks

Camel 2.x http4 component - proxy configuration

2021-06-15 Thread Martin Lichtin
https://camel.apache.org/components/2.x/http4-component.html The documentation lists two Uri parameters, "proxyAuthHost" and "proxyHost" (and again two for 'Port'). Is there a difference, or are both offering the same functionality to configure the proxy host

Re: Rép. : Http4 endpoint throws UrlRewrite NoClassDef

2021-05-06 Thread Modanese, Riccardo
Thank you for your reply. I solved the issue, it was my fault. I had an old camel-http4 dependency (2.x) in the classpath. I changed this dependency to camel-http (3.x) and worked! Regards Riccardo Il giorno 04/05/21, 18:01 "Daniel Langevin" ha scritto: Hi Riccardo, URL

Rép. : Http4 endpoint throws UrlRewrite NoClassDef

2021-05-04 Thread Daniel Langevin
, Riccardo" À : "users@camel.apache.org" Date : 2021-05-04 10:07 Objet : Http4 endpoint throws UrlRewrite NoClassDef Hi all, I’m moving http routes from Camel 2.x to 3.x. Main dependencies are Camel 3.4 SpringBoot 2.2.7-RELEASE Spring 5.2.6-RELEASE The http endpoints

Http4 endpoint throws UrlRewrite NoClassDef

2021-05-04 Thread Modanese, Riccardo
the stacktrace I don’t understand if I have some dirty dependency tree since from my understanding http4 package was renamed to http right?(https://camel.apache.org/manual/latest/camel-3-migration-guide.html) Can someone point me to the right direction to solve this issue? Thank you Riccardo

Re: Error in camel-http4 after update version from 2.20.2 to 2.25.1

2020-07-03 Thread Mikhail Lukyanov
. > > On Thu, May 28, 2020 at 7:36 AM Mikhail Lukyanov > wrote: > >> Hello, everyone >> >> I updated the Camel version and ran into a problem with the *http4* >> component. >> >> When I send a message using this component, I get the following error

Re: Error in camel-http4 after update version from 2.20.2 to 2.25.1

2020-07-03 Thread Claus Ibsen
with the *http4* > component. > > When I send a message using this component, I get the following error > > [image: image.png] > An error occurs at this location. > [image: image.png] > full error in attached file. > > Please tell me how I can deal with this error? >

problem when using basic Auth with sslcontext and proxy Auth using camel-http4

2020-05-14 Thread phani maddimsetti
/DownloadHandler.ashx?proxyAuthHost=testhost&authPassword=pass&bridgeEndpoint=true&authUsername=user&proxyAuthScheme=http4&proxyAuthPort=8081&throwExceptionOnFailure=false&sslContextParametersRef=sslContextParameters&proxyAuthPassword=proxypass&disconnect=true&okStatusCodeRa

Re: Availability of HTTP4 component in Camel 3.0.0

2020-01-06 Thread Jean-Baptiste Onofré
Hi, now http4 is renamed as http. Regards JB On 06/01/2020 09:21, Gerald Kallas wrote: > Dear community, > > I'm using Camel 3.0.0 ant did find the HTTP component only. When would become > the HTTP4 component part of the release? > > Best > - Gerald > -

Re: Availability of HTTP4 component in Camel 3.0.0

2020-01-06 Thread Maruan Sahyoun
Hi, from the Migration Guide: The http4 component has been renamed to http, and it’s corresponding component package from org.apache.camel.component.http4 to org.apache.camel.component.http. The supported schemes are now only http and https. BR Maruan > Dear community, > > I'

Availability of HTTP4 component in Camel 3.0.0

2020-01-06 Thread Gerald Kallas
Dear community, I'm using Camel 3.0.0 ant did find the HTTP component only. When would become the HTTP4 component part of the release? Best - Gerald

RE: Mime Multipart DataFormat+ HTTP4 (POST)

2019-09-26 Thread Shultz, Dmitry
altire.com] Sent: Tuesday, September 24, 2019 7:05 PM To: users@camel.apache.org Subject: Mime Multipart DataFormat+ HTTP4 (POST) Hi All, Is there any code sample of how to use the Mime Multipart DataFormat (https://urldefense.proofpoint.com/v2/url?u=https-3A__camel.apache.org_components_lat

Mime Multipart DataFormat+ HTTP4 (POST)

2019-09-24 Thread Shultz, Dmitry
Hi All, Is there any code sample of how to use the Mime Multipart DataFormat (https://camel.apache.org/components/latest/mime-multipart-dataformat.html) for sending some xml payload using HTTP4 component? I need to send it to the REST service using POST and can't figure it out. Cheers, Dmitry

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-15 Thread Imran Raza Khan
@Andrea please find code on below link to test that http4 dont support processing chunk data https://github.com/imranrazakhan/KubernetesConfigMapWatcher it look like http4 dont support reading of chunked data until it receive all data, but in my case i want to receive/process data chunk by

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Imran Raza Khan
@ Jan Bednář <https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=345603> i have no issue with chunk data or close connection, As you can see from debug logs that i am receiving all chunks of data, but http4 endpoint is not forwarding further in route due

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Jan Bednář
Also you cant try with http component option `chunked=false`, which should efectively disable streaming. Dne 14.9.2019 v 22:04 Jan Bednář napsal(a): Hi, you can try to switch to netty component, it is much more suitable for HTTP streaming endpoints. Or experiment with http4 component

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Jan Bednář
Hi, you can try to switch to netty component, it is much more suitable for HTTP streaming endpoints. Or experiment with http4 component `connectionClose` option - This will add `Connection: close` header, which is signal for server, that you dont support persistent connection. Dne 14.9.2019 v

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Imran Raza Khan
Please find below issue for improvement https://issues.apache.org/jira/browse/CAMEL-13978 Although i provided source code and debug trace of my route, i will still try to provide you github project

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Andrea Cosentino
I never tried that before. Can you create a Github project with a reproducer? It would be useful Il sab 14 set 2019, 19:45 Imran Raza Khan ha scritto: > Till the time you are working on enhancement can i use http4 component to > listen for configmap events? > > i require to read c

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Imran Raza Khan
Till the time you are working on enhancement can i use http4 component to listen for configmap events? i require to read chunk data in route, its working fine with curl command where i save output in file and monitor changes on file, but i am looking for pure camel solution.

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Andrea Cosentino
I will work on it Il sab 14 set 2019, 19:36 Andrea Cosentino ha scritto: > You're right. We don't have a consumer for event related to config map. > Can you please open an enhancement? > > Il sab 14 set 2019, 19:33 Imran Raza Khan ha > scritto: > >> Please point me to kubernetes event example i

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Andrea Cosentino
You're right. We don't have a consumer for event related to config map. Can you please open an enhancement? Il sab 14 set 2019, 19:33 Imran Raza Khan ha scritto: > Please point me to kubernetes event example i tried to search but couldn't > find it. > > On separate note can we read chunk data in

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Imran Raza Khan
Please point me to kubernetes event example i tried to search but couldn't find it. On separate note can we read chunk data in route?

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Andrea Cosentino
aza Khan ha > scritto: > >> I am using [kubernetes rest api][1] API to watch configmap and calling it >> with http4 component, but http4 is not forwarding exchange further in >> route, from logs i observed that http4 keep getting updates from openshift >> on first open c

Re: http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Andrea Cosentino
Why are you trying to watch a configmap with http component, when there is a consumer for the events related to specific configmap? Il sab 14 set 2019, 18:13 Imran Raza Khan ha scritto: > I am using [kubernetes rest api][1] API to watch configmap and calling it > with http4 component, but

http4 not sending exchange data further in route for kubernetes API

2019-09-14 Thread Imran Raza Khan
I am using [kubernetes rest api][1] API to watch configmap and calling it with http4 component, but http4 is not forwarding exchange further in route, from logs i observed that http4 keep getting updates from openshift on first open connection as its not closing connection so dont forward exchange

RE: http4 and x509HostnameVerifier

2019-08-07 Thread Riaan Annandale
: users@camel.apache.org Subject: Re: http4 and x509HostnameVerifier Hi Riaan, I would take a different approach: to provide the additional trust anchor certificates in a Java keystore file, privided by a ConfigMap, and on startup check if the additional keystore file exists and either use that

Re: http4 and x509HostnameVerifier

2019-08-07 Thread Zoran Regvart
Hi Riaan, I would take a different approach: to provide the additional trust anchor certificates in a Java keystore file, privided by a ConfigMap, and on startup check if the additional keystore file exists and either use that instead of the system keystore file or merge the two and configure Camel

http4 and x509HostnameVerifier

2019-08-07 Thread Riaan Annandale
Hi guys I'm trying to speak to a staging environment that uses self-signed certs. This means that when I try connect I get: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target As I run my camel app in

Re: Camel enrich+simple+http4 endpoint open too many connections

2019-07-28 Thread Claus Ibsen
: > > Hello Camel riders, > > We found issue when enrich/simple/http4 component opens new TCP connection > for each different endpoint it invokes. Case unfortunately happens even when > invoking url like: > > https://localhost/api/v1/user/${id}<https://localhost/api/v1/user

Camel enrich+simple+http4 endpoint open too many connections

2019-07-28 Thread Martin Pelikán
Hello Camel riders, We found issue when enrich/simple/http4 component opens new TCP connection for each different endpoint it invokes. Case unfortunately happens even when invoking url like: https://localhost/api/v1/user/${id}<https://localhost/api/v1/user/$%7bid%7d> and id will cha

Re: Springboot Camel http4 Component autoconfigs appear to have no effect

2019-02-21 Thread Claus Ibsen
Hi Make sure you use the -starter JARs as dependency, eg camel-http4-starter when using spring boot On Thu, Feb 21, 2019 at 9:35 PM Peck, Sean wrote: > > I am using Springboot 2.22.0, and I am having a devil of a time using the > spring-boot autoconfiguraiton with http4 component, acc

Springboot Camel http4 Component autoconfigs appear to have no effect

2019-02-21 Thread Peck, Sean
I am using Springboot 2.22.0, and I am having a devil of a time using the spring-boot autoconfiguraiton with http4 component, according to the documentation : https://github.com/apache/camel/blob/bf5a73cec85825ee1750517fe699540ef5ee4445/docs/components/modules/ROOT/pages/http4-component.adoc I

Camel http4 with mutual TLS

2019-01-30 Thread Juliano Boesel Mohr
Hi everyone, I'm trying to setup mutual TLS with my camel http4 endpoint. I'm getting an error like "the trustAnchors parameter must be non-empty". The source code and exception stack trace are available here: https://gist.github.com/juliaaano/f9af55611120b2448f954b306d16269

Re: spring boot http4 basic auth configuration

2018-10-10 Thread FabryProg
You shuold use authenticationPreemptive param Il Mer 10 Ott 2018, 11:44 Mark Hayen ha scritto: > Hi, > > I'm trying to configure basic authenicatio for the http4 component by using > the provided spring boot configuration properties. > > application.properties: >

spring boot http4 basic auth configuration

2018-10-10 Thread Mark Hayen
Hi, I'm trying to configure basic authenicatio for the http4 component by using the provided spring boot configuration properties. application.properties: camel.component.http4.http-configuration.auth-method=Basic camel.component.http4.http-configuration.auth-username=peppi camel.component.

Rép. : host not found when using http4 in docker container

2018-06-06 Thread Daniel Langevin
try this start your docker witch --network=hostcoreservices then http4:hostcoreservices:8080/coreservices/rest/v1/services dont miss to add the hostcoreservices in you DNS Cliquer pour ajouter une signature ( gwsig:addsig) >>> I'm running camel inside a Docker container

Re: host not found when using http4 in docker container

2018-06-06 Thread Tim Dudgeon
operating system can). e.g. in my case I needed to specify something like this:     depends_on:     coreservices:     condition: service_healthy Clearly a Docker and Java thing, not really anything to do with Camel or the HTTP4 component. But very strange nonetheless! On 06/06/18 04

Re: host not found when using http4 in docker container

2018-06-06 Thread Tim Dudgeon
t the container level is perfectly OK. The problem is that when using the HTTP4 camel component the same hostname does not get resolved. It looks like this is being done by the org.apache.http.impl.conn.SystemDefaultDnsResolver class in httpcomponents [1] which states in its docs: "DNS resolver tha

Re: host not found when using http4 in docker container

2018-06-05 Thread Willem Jiang
Can you add a link to the camel container just like this ? camel: image: "camel:0.3.0-SNAPSHOT" hostname: camel links: - "otherHost" - "zipkin:zipkin.io" Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jun 6, 2018 at 4:40 AM, Tim Dudgeon wrote: > On 05/06/18 20:40, Robin Vanderha

Re: host not found when using http4 in docker container

2018-06-05 Thread Tim Dudgeon
On 05/06/18 20:40, Robin Vanderhallen wrote: Are both containers in the same network in the docker compose file? Yes. Both are in the same network environment, but this is not the default network.     networks:     - xxx Tim

Re: host not found when using http4 in docker container

2018-06-05 Thread Robin Vanderhallen
Are both containers in the same network in the docker compose file? On 5 Jun 2018, 19:29 +0200, Tim Dudgeon , wrote: > I'm running camel inside a Docker container and trying to use the HTTP4 > component to post a request to a service running in a different > container (both containe

host not found when using http4 in docker container

2018-06-05 Thread Tim Dudgeon
I'm running camel inside a Docker container and trying to use the HTTP4 component to post a request to a service running in a different container (both containers are managed through Docker compose). Essentially I'm trying to do a post to a route like this: http4:coreservices:8080/co

Re: camel-http4 cookieStore property

2018-01-29 Thread Ricardo Zanini
nini On Mon, Jan 29, 2018 at 9:19 AM, Joery Vreijsen wrote: > Hi Stephan, > > That does indeed seem to work, I had to find this notation in the > http-session-handling documentation (http://camel.apache.org/http- > session-handling.html) as it wasn’t so clear from t

RE: camel-http4 cookieStore property

2018-01-29 Thread Joery Vreijsen
Hi Stephan, That does indeed seem to work, I had to find this notation in the http-session-handling documentation (http://camel.apache.org/http-session-handling.html) as it wasn’t so clear from the http4 documentation page (http://camel.apache.org/http4.html). Thanks! - Joery Vreijsen On 29

RE: camel-http4 cookieStore property

2018-01-29 Thread Siano, Stephan
Hi, just some guess from the error message. Have you tried: ? Best regards Stephan -Original Message- From: Joery Vreijsen [mailto:jhjvreij...@gmail.com] Sent: Montag, 29. Januar 2018 10:53 To: users@camel.apache.org Subject: camel-http4 cookieStore property Hi, I’m trying to set a

camel-http4 cookieStore property

2018-01-29 Thread Joery Vreijsen
Hi, I’m trying to set a customCookieStore to my http4 endpoint configured as below: This gives me the following exception: Failed to resolve endpoint: http4://localhost:9001?cookieStore=customCookieStore due to: Could not find a suitable setter for property: cookieStore as there isn

RE: does camel http4 clear the attachments of a message

2018-01-17 Thread Ronny Aerts
tions Manager Prince II certified – ITIL certified Tel: +32-3-326.50.75 -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: woensdag 17 januari 2018 10:36 To: users@camel.apache.org Subject: Re: does camel http4 clear the attachments of a message You can store stuff on exc

Re: does camel http4 clear the attachments of a message

2018-01-17 Thread Claus Ibsen
ied – ITIL certified > Tel: +32-3-326.50.75 > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: woensdag 17 januari 2018 8:42 > To: users@camel.apache.org > Subject: Re: does camel http4 clear the attachments of a message > > So what do yo

RE: does camel http4 clear the attachments of a message

2018-01-17 Thread Ronny Aerts
ië Product Owner Integrations / Integrations Manager Prince II certified – ITIL certified Tel: +32-3-326.50.75 -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: woensdag 17 januari 2018 8:42 To: users@camel.apache.org Subject: Re: does camel http4 clear the attach

Re: does camel http4 clear the attachments of a message

2018-01-16 Thread Claus Ibsen
therefore control to keep the attachments and whatelse you want. On Tue, Jan 16, 2018 at 11:08 PM, Ronny Aerts wrote: > Hello camel user community, > > > It seems that the camel http4 component clears/removes my existing camel > message attachments during a http get operation.

does camel http4 clear the attachments of a message

2018-01-16 Thread Ronny Aerts
Hello camel user community, It seems that the camel http4 component clears/removes my existing camel message attachments during a http get operation. Can this be confirmed? Can I avoid this? -- vriendelijke groeten, Ronny Aerts<mailto:ronny.ae...@intris.be> – Intris nv – Wapenstilsta

Re: http4 component with spring boot to configure ssl parameters

2017-10-30 Thread Mary Cochran
017 um 18:52 schrieb Steve973 [via Camel] < > ml+s465427n5814739...@n5.nabble.com>: > > > > Hello. I'm trying to figure out how to set up the http4 component with > ssl > > information (keystore, truststore) with Spring Boot. I would like to > have > >

Re: No host for http4 connection

2017-10-24 Thread Zoran Regvart
gt; > > > > > Here's the part of the log when the test starts to show I have a server set > up for the HTTP4 client to contact (it maps the "/contact" part of the URI in > a service bean): > > INFO: Setting the server's publish addr

Re: http4 component with spring boot to configure ssl parameters

2017-10-23 Thread Roman Vottner
leased. HTH, Roman > Am 20.10.2017 um 18:52 schrieb Steve973 [via Camel] > : > > Hello. I'm trying to figure out how to set up the http4 component with ssl > information (keystore, truststore) with Spring Boot. I would like to have > a @Configuration class that configures t

http4 component with spring boot to configure ssl parameters

2017-10-20 Thread Steve973
Hello. I'm trying to figure out how to set up the http4 component with ssl information (keystore, truststore) with Spring Boot. I would like to have a @Configuration class that configures the "https4" component, but I cannot find examples. Do any of you know of an example that

No host for http4 connection

2017-10-20 Thread Bagwell, Allen F
en the test starts to show I have a server set up for the HTTP4 client to contact (it maps the "/contact" part of the URI in a service bean): INFO: Setting the server's publish address to be http://localhost:7000/cxf/rest INFO 20-Oct-2017 08:54:03.382, [main], Server - jetty-9.2.

Multipart/form-data Upload with HTTP4?

2017-09-13 Thread Todd Baert
Hey guys. I'm trying to find out if the http4 (or any other) component supports multipart/form-data file uploads. In my experience, it's necessary to resort to a bean and HttpClient boilder-plate to upload a file, along with arbitrary form data. Does anybody know if there is a way to do

Re: Rest producer using http4 with https endpoint

2017-06-14 Thread KGarner
Has anyone else noticed this gap with secure endpoints in the rest producer backed by http4? If I'm not off base too much, it seems like a straightforward fix to adjust the replace line in the code, right? -- View this message in context: http://camel.465427.n5.nabble.com/Rest-producer-

Re: HTTP4 retrying with I/O exception in fuse 6.3

2017-06-14 Thread Bart Horré
Hi, I'm assuming 'sslContextParams' is a bean in the registry. Shouldn't your uri be "http4:abcd.abcd.com:443/aabb/aabbdd.svc/pox? sslContextParametersRef=#sslContextParams <http://abcd.abcd.com:443/aabb/aabbdd.svc/pox?sslContextParametersRef=sslContextParams>"

HTTP4 retrying with I/O exception in fuse 6.3

2017-06-12 Thread Kevin-Void
Hi All, I have used Http4 component in fuse 6.2.1 and it works fine as expected. In new version of fuse 6.3, the response is not as expected. It is as follows: 2017-06-12 18:34:54,886 | INFO | mer[SAMPLE.ROUTE] | RetryExec | 219 - org.apache.httpcomponents.httpclient

Rest producer using http4 with https endpoint

2017-06-08 Thread KGarner
Using a rest producer backed by http4 component, providing an https endpoint as host fails. Error: No component found with scheme: http4s Looks like line 392 in HttpComponent.java host = host.replace("http", "http4"); Should instead replace http->http4 and https->http

Re: Camel http4 // OperationTimeout

2017-06-01 Thread contactreji
ESB | Mule ESB ) LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a Twitter - reji_mathews -- View this message in context: http://camel.465427.n5.nabble.com/Camel-http4-OperationTimeout-tp5801630p5801657.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel http4 // OperationTimeout

2017-06-01 Thread contactreji
hews/31/9a2/40a Twitter - reji_mathews -- View this message in context: http://camel.465427.n5.nabble.com/Camel-http4-OperationTimeout-tp5801630p5801631.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel http4 // OperationTimeout

2017-06-01 Thread contactreji
gards Reji Mathews - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB ) LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a Twitter - reji_mathews -- View this message in context: http://camel.465427.n5.nabble.c

Re: 2.19.0 Rest Producer DSL http4 support for PUT workaround

2017-05-17 Thread owain
Done. https://issues.apache.org/jira/browse/CAMEL-11293 -- View this message in context: http://camel.465427.n5.nabble.com/2-19-0-Rest-Producer-DSL-http4-support-for-PUT-workaround-tp5799706p5799725.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: 2.19.0 Rest Producer DSL http4 support for PUT workaround

2017-05-17 Thread Claus Ibsen
Hi Ah yeah the put in the rest url should take precedence. Can you log a JIRA ticket. On Wed, May 17, 2017 at 2:07 PM, owain wrote: > I have swapped out a route previously using http4 directly for the more > succinct newly released producer DSL. > > What was working as:

2.19.0 Rest Producer DSL http4 support for PUT workaround

2017-05-17 Thread owain
I have swapped out a route previously using http4 directly for the more succinct newly released producer DSL. What was working as: from("direct:getCounter") .routeId("i4ip-Get-Counter") .setHeader("CamelHttpMethod", constant("PUT"))

Optimizing Camel HTTP4 with KeepAlive

2017-04-10 Thread james isaac
down votefavorite <http://stackoverflow.com/questions/43276849/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, bu

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
it <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=5796938&i=0>> wrote: > > > > Hi Claus, > > > > HttpProduce -- from camel-http4 library is setting the content-type > 'text/plain' in method [1] line # 488 (camel version 2.16.3) ev

Re: Camel Http vs Camel Http4 - Content Type Header

2017-04-04 Thread Goyal, Arpit
Anyone else has idea of this camel logic? Sent from my iPhone > On Apr 3, 2017, at 4:33 PM, Goyal, Arpit wrote: > > Hi Claus, > > HttpProduce -- from camel-http4 library is setting the content-type > 'text/plain' in method [1] line # 488 (camel version 2.16.3) ev

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

MTOM proxy via cxf MESSAGE mode to http4

2017-03-13 Thread Enritsche
sage) messageHeaders.get(CxfConstants.CAMEL_CXF_MESSAGE); if (soapMessage != null) { message.setHeader(Exchange.CONTENT_TYPE, soapMessage.get(Exchange.CONTENT_TYPE)); } } } } } I think there should be a simpler approach. Cou

Re: Camel Http4 using basic auth and proxy auth

2017-03-06 Thread Claus Ibsen
Yeah sounds like a little bug. You are welcome to log a JIRA and provide a PR with a fix. You have a system where you can test it. http://camel.apache.org/contributing On Mon, Mar 6, 2017 at 5:41 PM, Xavier López wrote: > I've been trying to use Apache Camel's Http4 component to

Camel Http4 using basic auth and proxy auth

2017-03-06 Thread Xavier López
I've been trying to use Apache Camel's Http4 component to connect to a HTTPS URL that needs Basic authentication. The connection needs to be done through an authenticated HTTP proxy. So, according to the docs at http://camel.apache.org/http4.html, I configure the Camel endpoint

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
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, 2017 at 10:32 PM, Goyal, Arpit [via Camel] < ml-n

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: Netty Http4 (client): Null body whereas content-length > 0

2017-02-07 Thread scoutant
disturbed the community with my post. Stephane Coutant. -- View this message in context: http://camel.465427.n5.nabble.com/Netty-Http4-client-Null-body-whereas-content-length-0-tp5793490p5793548.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-06 Thread scoutant
-- View this message in context: http://camel.465427.n5.nabble.com/Netty-Http4-client-Null-body-whereas-content-length-0-tp5793490p5793513.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread Taariq Levack
t; > And I have created a JNDI Registry in camel context (I don't think it has > > an > > impact, but). > > > > This time, I promise there is no more hidden information! > > > > By the way, I don't know if it can have an incidence, but the ECB server > > returns a xml file (application/xml), but the content-type indicated is > > "text". > > > > Thanks again for your reply. > > Kind regards, > > Stéphane Coutant > > > > > > > > > > > > -- > > View this message in context: http://camel.465427.n5.nabble. > > com/Netty-Http4-client-Null-body-whereas-content-length-0- > > tp5793490p5793494.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > >

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread Willem Jiang
ype indicated is > "text". > > Thanks again for your reply. > Kind regards, > Stéphane Coutant > > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Netty-Http4-client-Null-body-whereas-content-length-0- > tp5793490p5793494.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread scoutant
;text". Thanks again for your reply. Kind regards, Stéphane Coutant -- View this message in context: http://camel.465427.n5.nabble.com/Netty-Http4-client-Null-body-whereas-content-length-0-tp5793490p5793494.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread Claus Ibsen
> I'm developping a payment platform and I decided to use Camel EIP 2.18.0 as > my communication framework. In particular the Netty HTTP4 component. Note > that I'm new to Camel. > > I have a problem using Netty HTTP4 while requesting a simple web service > published b

Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread scoutant
Hello, I'm developping a payment platform and I decided to use Camel EIP 2.18.0 as my communication framework. In particular the Netty HTTP4 component. Note that I'm new to Camel. I have a problem using Netty HTTP4 while requesting a simple web service published by the European Centr

Re: remap 'http' to use the camel http4 component by default

2017-02-04 Thread Claus Ibsen
Hi There is a ticket about the idea of making it easy to do alias https://issues.apache.org/jira/browse/CAMEL-10651 On Thu, Feb 2, 2017 at 1:02 PM, jack patwork wrote: > Hi, > > Is it possible to remap the 'http4' component to use the 'http' component > id. I

Re: remap 'http' to use the camel http4 component by default

2017-02-02 Thread Tomohisa Igarashi
IIRC just adding a does the trick, at least worth a try. Don't forget to remove camel-http from your POM. Thanks, Tomo On 02/02/2017 09:02 PM, jack patwork wrote: Hi, Is it possible to remap the 'http4' component to use the 'http' component id. I'm ask

Re: remap 'http' to use the camel http4 component by default

2017-02-02 Thread Vitalii Tymchyshyn
Hi. Just create a bean in registry with name http and proper component type. E.g. if you are using spring, define a spring bean. On Thu, Feb 2, 2017, 7:02 AM jack patwork wrote: > Hi, > > Is it possible to remap the 'http4' component to use the 'http' component &g

remap 'http' to use the camel http4 component by default

2017-02-02 Thread jack patwork
Hi, Is it possible to remap the 'http4' component to use the 'http' component id. I'm asking because I have distributed application where a bunch of http urls are being passed in as parameters and camel is mapping them to the http component. During performance testing

HTTP4 Delete method is not sending request body.

2017-01-25 Thread atluris
Hi, We are using camel http4 component to call Rest APIs. One of our DELETE rest api contains body, which has the list of ids to delete. When we tried to call DELETE method with body, it is not being sent. I did bit of research and found that org.apache.http.client.methods.HttpDelete is not

Camel cxfrs or Camel http4

2016-12-18 Thread contactreji
Hi I am trying to access an external rest api. I have to decide here if I should go with camel http4 endpoint or camel cxfrs? Which one is preferable and accepted widely? Reji - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse

Re: Overriding default properties in camel http4 component via blueprint

2016-07-20 Thread Antoine DESSAIGNE
; Which is standard blueprint / spring xml style. > > Then the Camel routes that use http4 (the id of the bean) is using > that component. You can give the id any name you like instead of > http4. > > > > On Mon, Jul 18, 2016 at 3:29 PM, Debraj Manna > wrote: > > I

Re: Overriding default properties in camel http4 component via blueprint

2016-07-19 Thread Claus Ibsen
Some components allow to configure component level options, which you do the style. Which is standard blueprint / spring xml style. Then the Camel routes that use http4 (the id of the bean) is using that component. You can give the id any name you like instead of http4. On Mon, Jul 18

Overriding default properties in camel http4 component via blueprint

2016-07-18 Thread Debraj Manna
I want to change maxTotalConnections and connectionsPerRoute in camel http4 component via blueprint. Can some one please let me know is it possible to do this or I have to send this as URI option? I am on camel 2.16.3

Re: http4 client fails basicAuth whilst http works

2016-07-07 Thread ianwatson
").constant("application/json") .setHeader("CamelHttpMethod").constant("POST") .setHeader("CamelHttpUri") .constant("http4://localhost:9191/rest/customerservice/enrich?authUsername=ian&authPassword=ian&authMe

Re: http4 client fails basicAuth whilst http works

2016-07-07 Thread souciance
the preemptive. > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/http4-client-fails-basicAuth-whilst-http-works-tp5784930p5784935.html > To start a new topic under Camel - Users, email > ml-nod

  1   2   3   4   >