Re: Posting to Camel Servlet endpoint brings up file download dialog

2015-04-20 Thread Liliana.Neagul
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))

Apache Camel decodes HTTP query params and httpclient fails with Invalid query exception

2015-03-26 Thread Liliana.Neagul
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:

Re: Apache Camel decodes HTTP query params and httpclient fails with Invalid query exception

2015-03-26 Thread Liliana.Neagul
@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

Re: Apache Camel decodes HTTP query params and httpclient fails with Invalid query exception

2015-03-26 Thread Liliana.Neagul
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.

Camel-swagger does not support query parameters?

2014-11-14 Thread Liliana.Neagul
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

Re: Camel Restlet with Swagger

2014-11-11 Thread Liliana.Neagul
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