I am using graph API of Facebook and I call it through camel framework. My
query has non ASCII characters (e.g. küçük). I am getting the following
exception:-

Cause: 
org.apache.commons.httpclient.URIException: Invalid query
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:2049)
at org.apache.commons.httpclient.URI.<init>(URI.java:147)
at org.apache.commons.httpclient.HttpMethodBase.getURI
at org.apache.commons.httpclient.HttpClient.executeMethod
at org.apache.commons.httpclient.HttpClient.executeMethod
at org.apache.camel.component.http.HttpProducer.executeMethod
at org.apache.camel.component.http.HttpProducer.process
at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at
org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122)

Does camel support non ASCII characters in URI? If not, what other things
can be done?

example URL: https://graph.facebook.com/?ids=http://www.example.com/küçük





--
View this message in context: 
http://camel.465427.n5.nabble.com/Non-ascii-characters-in-URL-param-in-camel-tp5765190.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to