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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.