You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ads_green <ad...@hotmail.com> on 2013/12/11 21:31:35 UTC

Re: Problem with AWS-Component => accessKey + secretKey Parameters not working

Following on from this original issue.

With Camel 2.12.2.

If you have a url route defined as 
aws-sqs://Queue?accessKey=xxx&secretKey=yyy

And yyy contains an embedded "+".
If you encode this using a %2B then Camel will double decode this value
during route setup if using the DefaultCamelContext.
As such the value passed to the AWS Credentials will in fact have embedded
spaces.

"normalizeEndpointUri" does the first decoding before passing onto the
component.




--
View this message in context: http://camel.465427.n5.nabble.com/Problem-with-AWS-Component-accessKey-secretKey-Parameters-not-working-tp4745604p5744630.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem with AWS-Component => accessKey + secretKey Parameters not working

Posted by Claus Ibsen <cl...@gmail.com>.
You can use the raw options as documented here
http://camel.apache.org/how-do-i-configure-endpoints.html

On Wed, Dec 11, 2013 at 9:31 PM, ads_green <ad...@hotmail.com> wrote:
> Following on from this original issue.
>
> With Camel 2.12.2.
>
> If you have a url route defined as
> aws-sqs://Queue?accessKey=xxx&secretKey=yyy
>
> And yyy contains an embedded "+".
> If you encode this using a %2B then Camel will double decode this value
> during route setup if using the DefaultCamelContext.
> As such the value passed to the AWS Credentials will in fact have embedded
> spaces.
>
> "normalizeEndpointUri" does the first decoding before passing onto the
> component.
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Problem-with-AWS-Component-accessKey-secretKey-Parameters-not-working-tp4745604p5744630.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io