How to get the AWS-SQS camel component to work in a camel route ?

Solution Unverified - Updated -

Issue

  • With Blueprint only, error when using aws-sqs component. The AWS servers fail to resolve the credentials.
    eg. Service: AmazonSQS; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: 948f7310-5786-5269-9e71-3df354beeffc)

  • With the amazonSQSClient, com.amazonaws.services.sqs.AmazonSQS The error is:

Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: aws-sqs://testQueue?amazonSQSClient=sqsClient due to: Could not find a suitable setter for property: amazonSQSClient as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: com.amazonaws.services.sqs.AmazonSQS with value sqsClient
  • How to get the camel-aws-sqs component working with a camel blueprint route ?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content