issue with basic authentication in camel http4 component
Issue
I am trying to call an http endpoint with basic authentication using camel-http component.
But when doing like this it doesn't work:
<setHeader headerName="CamelHttpMethod">
<constant>GET</constant>
</setHeader>
<setHeader headerName="CamelHttpQuery">
<constant>name=foo&authMethod=Basic&authUsername=test&authPassword=test</constant>
</setHeader>
<to id="_to1" uri="http4://www.example.com/abcd" />
Environment
- Red Hat JBoss Fuse
- 6.2.1
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.