Using the following endpoint to line with the endpoint configuration, the http request fails
If I'm using the equivalent line of:
the request are working fine.
Debugging this one shows that with the endpoint setup, BasicAuthenticationHttpClientConfigurer is initialized with the properties, so here username="props.username".
With just the java dsl, the correct username is loaded in the constructor.