You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "thomas.eapen@yahoo.co.in" <th...@yahoo.co.in> on 2015/06/08 20:43:01 UTC

Re: [HEADS UP] - Configuring passwords in Camel endpoints is now easier with new RAW syntax

RAW does not work for recipientlist uri's.
I am trying to hit a http endpoint via recipientlist and the url has a +
symbol.
If if i use RAW() it does not work



--
View this message in context: http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-endpoints-is-now-easier-with-new-RAW-syntax-tp5729782p5767989.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: [HEADS UP] - Configuring passwords in Camel endpoints is now easier with new RAW syntax

Posted by Willem Jiang <wi...@gmail.com>.
Camel doesn’t check the options which are not used setup the http endpoint, can you just set the option without encoding?

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On June 10, 2015 at 1:35:06 PM, thomas.eapen@yahoo.co.in (thomas.eapen@yahoo.co.in) wrote:
> I am using camel 2.14.
>  
>  
> http://someurl?q=*:*&facet=true&facet.query={!key=%22[*%20TO%20NOW-30]%22}dt_created:[*%20TO%20NOW-30DAY]&facet.query={!key=%22[NOW-30DAY%20TO%20NOW-15DAY]%22}dt_created:[NOW-30DAY%20TO%20NOW-15DAY]&facet.query={!key=%22[NOW-15DAY%20TO%20NOW-7DAY]%22}dt_created:[NOW-15DAY%20TO%20NOW-7DAY]&facet.query={!key=%22[NOW-7DAY%20TO%20NOW-1DAY]%22}dt_created:[NOW-7DAY%20TO%20NOW-1DAY]&facet.query=RAW({!key=%22[NOW-1DAY%20TO%20NOW]%22}dt_created:[NOW-1DAY%20TO%20NOW+1DAY])&fq=nm_task_type:(OTM_QUERY  
> OR OTM_CLIENT_QUERY)&rows=0
>  
>  
> Camel Route firing above url:
>  
>  
>  
>  
> ${property[inputSearchParameter.url]}
>  
>  
>  
> RAW keyword is not getting removed.
> Is this a issue with the same key being repeated - facet.query?
>  
>  
>  
>  
>  
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-endpoints-is-now-easier-with-new-RAW-syntax-tp5729782p5768040.html  
> Sent from the Camel Development mailing list archive at Nabble.com.
>  


Re: [HEADS UP] - Configuring passwords in Camel endpoints is now easier with new RAW syntax

Posted by "thomas.eapen@yahoo.co.in" <th...@yahoo.co.in>.
I am using camel 2.14.


http://someurl?q=*:*&facet=true&facet.query={!key=%22[*%20TO%20NOW-30]%22}dt_created:[*%20TO%20NOW-30DAY]&facet.query={!key=%22[NOW-30DAY%20TO%20NOW-15DAY]%22}dt_created:[NOW-30DAY%20TO%20NOW-15DAY]&facet.query={!key=%22[NOW-15DAY%20TO%20NOW-7DAY]%22}dt_created:[NOW-15DAY%20TO%20NOW-7DAY]&facet.query={!key=%22[NOW-7DAY%20TO%20NOW-1DAY]%22}dt_created:[NOW-7DAY%20TO%20NOW-1DAY]&facet.query=RAW({!key=%22[NOW-1DAY%20TO%20NOW]%22}dt_created:[NOW-1DAY%20TO%20NOW+1DAY])&fq=nm_task_type:(OTM_QUERY
OR OTM_CLIENT_QUERY)&rows=0


Camel Route firing above url:
<route id="httpexecutor">
			<from uri="direct:httpexecutor" />
			<process ref="httpPreprocessor" />
			<recipientList>
				<simple>${property[inputSearchParameter.url]}</simple>
			</recipientList>
</route>

RAW keyword is not getting removed.
Is this a issue with the same key being repeated - facet.query?








--
View this message in context: http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-endpoints-is-now-easier-with-new-RAW-syntax-tp5729782p5768040.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: [HEADS UP] - Configuring passwords in Camel endpoints is now easier with new RAW syntax

Posted by Willem Jiang <wi...@gmail.com>.
Which version of Camel are you using now?


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On June 9, 2015 at 3:31:59 AM, thomas.eapen@yahoo.co.in (thomas.eapen@yahoo.co.in) wrote:
> RAW does not work for recipientlist uri's.
> I am trying to hit a http endpoint via recipientlist and the url has a +
> symbol.
> If if i use RAW() it does not work
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-endpoints-is-now-easier-with-new-RAW-syntax-tp5729782p5767989.html  
> Sent from the Camel Development mailing list archive at Nabble.com.
>