Your endpoint configuration looks good.
Must something wrong with your credentials or firewall...
You could try to run the integration test at [1] with your credentials and
see whether it works. And make sure your accessKey or privateKey doesn't
contain character you has to escape in your endpoint uri.

[1]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/sqs/integration/SqsComponentIntegrationTest.java

Best,
Christian

On Mon, Jun 4, 2012 at 3:44 PM, Gnanaguru S <gnanaguru.sattanat...@wipro.com
> wrote:

> Hi
>
> I was looking over the Amazon SQS component from
> http://camel.apache.org/aws-sqs.html
>
> I was successful in creating a simple route based on the documentation. But
> I am little confused about some configuration parameters which are
> mandatory
> or not.
>
> I have the access key and secret key from amazon. And by the way I have a
> queue called 'GuruQueue'. Will these three attributes are enough for
> accessing this amazon queues?
>
> This is my route: *<from
> uri="aws-sqs://GuruQueue?accessKey=xxx&amp;secretKey=yyy+zzz" />
> *
> The route is successfuly created but, It was not able to reach amazon. I
> checked the proxy settings, It was clear. My proxy did not blocks anything.
>
> This is my error log:
>
> [ERROR] Failed to execute goal
> org.apache.camel:camel-maven-plugin:2.9.2:run
> (default-cli) on project camel-ex
> ample-osgi: null: MojoExecutionException: InvocationTargetException:
> org.apache.camel.FailedToCreateRouteExcep
> tion: Failed to create route route1:
> Route[[From[aws-sqs://GuruQueue?accessKey=xxx... because o
> f Failed to resolve endpoint:
> aws-sqs://GuruQueue?accessKey=xxx&secretKey=yyy+zzz due to: Unable to
> execute HTTP request: *Connection to https://queue.amazonaws.com refuse
> d: *Connection timed out: connect -> [Help 1]
>
> When i try accessing the url https://queue.amazonaws.com from the browser,
> This was shown:(Picture below).
>
> http://camel.465427.n5.nabble.com/file/n5713948/camel_sqs.jpg
>
> Please help if somebody has some points to suggest me.
>
> Regards
> Guru
> Twitter: @gnanagurus
>
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/AWS-SQS-not-able-to-reach-amazon-queue-tp5713948.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to