Details
Description
It gives FailedToCreateRouteException while creating camel AWS-SQS endpoint with ARN.
For example, below producer or consumer endpoint is not being created.
uri="aws-sqs://arn:aws:sqs:us-east-2:account:MyQueue?accessKey=xxx&secretKey=yyy®ion=US_EAST_2"
And it throws error as follows.
Caused by: java.lang.IllegalArgumentException: No enum constant com.amazonaws.regions.Regions.us-east-2
at java.lang.Enum.valueOf(Enum.java:238)
at com.amazonaws.regions.Regions.valueOf(Regions.java:26)
at org.apache.camel.component.aws.sqs.SqsEndpoint.createClient(SqsEndpoint.java:310)
Attachments
Issue Links
- relates to
-
CAMEL-15395 Problem in setting region for camel AWS-SQS endpoint
- Closed
- links to