camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siano, Stephan" <stephan.si...@sap.com>
Subject RE: Add component options to camel-ahc component
Date Wed, 05 Oct 2016 08:11:00 GMT
Hi,

I am not sure whether I understand your question correctly. https://example.com/v1/hello?apiKey=aaaaa&throwExceptionOnFailure=false
will set the throwExceptionOnFailure endpoint option to false (and forward the apiKey parameter
to the server). Component options are set on the component level and apply to all endpoints
unless they are overwritten by endpoint options.

Best regards
Stephan

-----Original Message-----
From: prabhuj [mailto:prabhu.undefined@gmail.com] 
Sent: Dienstag, 4. Oktober 2016 15:45
To: users@camel.apache.org
Subject: Add component options to camel-ahc component

If my endpoint is "https://example.com/v1/hello?apiKey=aaaaa", How do i add
ahc component options (e.g., throwExceptionOnFailure) ?

https://example.com/v1/hello?apiKey=aaaaa&throwExceptionOnFailure=false ?

How would ahc differentiate the actual endpoint vs component options ?





--
View this message in context: http://camel.465427.n5.nabble.com/Add-component-options-to-camel-ahc-component-tp5788349.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message