Thanks Andrea.

That worked like a charm. FINALLY have working code.

Thank you SO much.

Regard

Elmar

-----Original Message-----
From: Andrea Cosentino <[email protected]>
Sent: Tuesday, 24 August 2021 15:49
To: [email protected]
Subject: Re: Error trying to get QUARKUS with Camel to read messages off of a 
AWS SQS queue

[You don't often get email from [email protected]. Learn why this is important 
at http://aka.ms/LearnAboutSenderIdentification.]

CAUTION: This email originated from outside the Stellenbosch University 
network. Do not click links or open attachments unless you recognize the sender 
and know the content is safe.


Is the secret key containing special characters? If so you should use 
RAW(<secret key>) in the parameter.

Il mar 24 ago 2021, 15:46 Matthee, Elmar [[email protected]] < [email protected]> 
ha scritto:

> I am trying to write a small quarkus-camel-sql client to read messages
> off of an existing queue. I have "raw" java code that it works fine
> with, but when I try to plug it into a camel route I get the following
> error and I'm not sure how/where to tweak.
>
> WARN [org.apa.cam.com.aws.sqs.Sqs2Consumer] (Camel (camel-1) thread #0
> -
> aws2-sqs://arn:aws:sqs:us-east-2:550472003149:JSONTestQ.fifo) Consumer
> SqsConsumer[aws2-sqs://arn:aws:sqs:us-east-2:550472003149:JSONTestQ.fi
> fo?accessKey=AKIAYAKVQFZGTCDOR3OP&secretKey=xxxxxx]
> failed polling endpoint:
> aws2-sqs://arn:aws:sqs:us-east-2:550472003149:JSONTestQ.fifo?accessKey=AKIAYAKVQFZGTCDOR3OP&secretKey=xxxxxx.
> Will try again at next poll. Caused by:
> [software.amazon.awssdk.services.sqs.model.SqsException - The request
> signature we calculated does not match the signature you provided.
> Check your AWS Secret Access Key and signing method. Consult the
> service documentation for details.
>
>
>
>
>
> My camel route looks as follows:
>
>
> from("aws2-sqs://arn:aws:sqs:us-east-2:550472003149:JSONTestQ.fifo?acc
> essKey=AKIAYAKVQFZGTCDOR3OP&secretKey=secretkey")
> .log("We have a message! ${body}")
>
> .to("file://target/output?fileName=tester-message-${date:now:MMDDyy-HH
> mmss}.json");<
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Flocalstack%2Flocalstack%2Fissues%2Furl&amp;data=04%7C01%7C%7C
> 9fa9e8013f904ae6378708d96705f27e%7Ca6fa3b030a3c42588433a120dffcd348%7C
> 0%7C0%7C637654097524351403%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDA
> iLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Jhr%2
> FIZnYoHN2fNx2krgZ67zxbaYgyRk4JfsyCmti2iY%3D&amp;reserved=0>
>
> I'm VERY green with quarkus and camel (and SQS for that matter) and
> the documentation is sparce and not exactly illuminating.
>
> Any help would be greatly appreciated.
>
> Regards
>
> Elmar
>
> Elmar Matthee
> INFORMATION TECHNOLOGY (Institutional Software Solutions) University
> of Stellenbosch South Africa
> Tel: +27 21 808 3580 | map <
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.g
> oogle.com%2Fmaps%2Fms%3Fie%3DUTF8%26hl%3Den%26msa%3D0%26msid%3D1038423
> 93525197829607.000001120a4a06b965308%26ll%3D-33.929545%2C18.865285%26s
> pn%3D0.01613%2C0.029182%26t%3Dh%26z%3D15%26om%3D0&amp;data=04%7C01%7C%
> 7C9fa9e8013f904ae6378708d96705f27e%7Ca6fa3b030a3c42588433a120dffcd348%
> 7C0%7C0%7C637654097524351403%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM
> DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Fxx
> s4QMqAGPaUr5Duy1sgPeHgeEAHCXABEMAE6q5TuI%3D&amp;reserved=0
> >
> Cel: +27 82 829 8417
> Fax: +27 21 808 4102
> --
> Meddle not in the affairs of dragons puny mortal for thou art crunchy
> and taste good with ketchup.
>
>
> [https://www.sun.ac.za/productionfooter/email/ProductionFooter.jpg]<
> https://www.sun.ac.za/english/about-us/strategic-documents>
>
> The integrity and confidentiality of this email are governed by these
> terms. Disclaimer<https://www.sun.ac.za/emaildisclaimer/default.aspx>
> Die integriteit en vertroulikheid van hierdie e-pos word deur die
> volgende bepalings bere?l. Vrywaringsklousule<
> https://www.sun.ac.za/emaildisclaimer/default.aspx>
>
[https://www.sun.ac.za/productionfooter/email/ProductionFooter.jpg]<https://www.sun.ac.za/english/about-us/strategic-documents>

The integrity and confidentiality of this email are governed by these terms. 
Disclaimer<https://www.sun.ac.za/emaildisclaimer/default.aspx>
Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende 
bepalings bereƫl. 
Vrywaringsklousule<https://www.sun.ac.za/emaildisclaimer/default.aspx>

Reply via email to