Hi
Good to know and thanks for posting the working code.
I created a ticket about adding a new option
https://issues.apache.org/jira/browse/CAMEL-18093
On Tue, May 10, 2022 at 4:58 PM Michael Rambichler
wrote:
>
> Thanks!!!
> With your hint, I have found the solution: httpClientConfigure
>
> fro
Thanks!!!
With your hint, I have found the solution: httpClientConfigure
from("direct:start")
.to("rest:POST:users/{id}/basic?throwExceptionOnFailure=false&httpClientConfigurer=#customConfigurer")
.log(LoggingLevel.INFO, "Received body : ${body}")
.to("mock:result");
@Bin
Hi
I guess there are 2 things
1)
To make it easy in camel-http to turn on follow direct out of the box.
You are welcome to create a JIRA
2)
You can maybe use the http client configurer thingy on camel-http to
customize the created client to set that code.
On Tue, May 10, 2022 at 4:20 PM Michael
Hi,
Yes, exactly. I debugged the http-client code already. And the solution is
to define the redirect strategy:
via: client.setRedirectStrategy(new LaxRedirectStrategy());
But i do not know how to access the http-client used by the camel-http
Am Di., 10. Mai 2022 um 16:03 Uhr schrieb Claus Ibsen
Hi
So are you asking for how to configure the http client to follow redirects?
You use camel-http, so you need to find out how it does redirects
On Tue, May 10, 2022 at 3:46 PM Michael Rambichler
wrote:
>
> Hi Team,
>
> I hope someone can help us.
>
> We have to do a simple rest callout with PO
Hi Team,
I hope someone can help us.
We have to do a simple rest callout with POST method and http
as producercomponent:
If we use POST as method, the redirect in the http component is not
fulfilled. (If we use GET it works)
After some investigation we realized that we have to configure the
http
Hi Team,
i hope you can help us.
We have a simple rest callout with POST Method and http as producer
component:
restConfiguration()
.producerComponent("http")
.host("localhost")
.port((Integer) parameters.get
Hi
JIRA: https://issues.apache.org/jira/browse/CAMEL-18087
Just want to let you know that we are working on enabling stream
caching by default from 3.17 onwards.
We have too many Camel users that get "tripped" by "message body is
empty" or "message is not routed correctly" in my choice EIP, and
Hi
Yes if you do manual stuff like this that are out of the ordinary,
then you need to wait until camel context is started to add your
custom routes.
On Tue, May 10, 2022 at 10:58 AM Martin Lichtin
wrote:
>
> Is there potentially a race condition when calling addRoutes while
> camelContext stat
Is there potentially a race condition when calling addRoutes while
camelContext status is 'Initializing'?
I noticed the routes are not actually added in such a case, but no error
or warning appears, they're just silently ignored.
Creating the CamelContext with blueprint, then adding the route
10 matches
Mail list logo