Me and jarod find a solution that works and I will just share an example:
from(jetty:http://localhost:4566/download;)
.setBody(simple(resource:fileExample.xml))
.setHeader(Content-type,constant(text/xml))
.setHeader(Pragma,constant( public))
Hi,
I'm trying to send from a camel route an HTTP request using an encoded query
parameter (for symbol euro
€), and it seems that camel decode the parameter and sent it to httpclient
decoded. Httpclient fails then with 'Invalid query' exception.
My route is:
@Willem: Yes I tried to the parameter in Exchange.HTTP_QUERY header name. It
has the same behavior.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-decodes-HTTP-query-params-and-httpclient-fails-with-Invalid-query-exception-tp5764794p5764843.html
Sent from the
I'm using apache-camel version 2.14.1
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-decodes-HTTP-query-params-and-httpclient-fails-with-Invalid-query-exception-tp5764794p5764842.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I'm trying to use Rest DSL for generating documentation for swagger.
Do you know how to add a description for every parameter from URI, or how
can I use query parameters?
like: http://host/resource?*limit*=100 (where limit, is considered query
parameter).
I found a Jira issue that
Hi,
I'm trying to use Rest DSL for generating documentation for swagger.
Do you know how to add a description for every parameter from URI, or how
can I use query parameters.
like: http://host/resource?*limit*=100 (where limit, is considered query
parameter).
I found a Jira issue that query