Does the AWS SQS connector for Mule (Anypoint) need to be configured to read from a specific region? -
i have simple flow read queue in aws sqs using mule's sqs connector:
<sqs:config name="amazon_sqs__configuration" accesskey="${aws.readonly.accesskey}" secretkey="${aws.readonly.secretkey}" doc:name="amazon sqs: configuration"/> <flow name="status-io-integrationflow"> <sqs:receive-messages config-ref="amazon_sqs__configuration" queueurl="< my-url-to-sqs-queue >" preservemessages="true" doc:name="amazon sqs (streaming)"/> <logger message="#[payload]" level="info" doc:name="logger"/> </flow>
however, can work queues deployed in u.s. east (n. virginia). there way change region sqs connector using find queue?
in west (oregon), example, following error:
caused by: com.amazonaws.1.9.39.shade.services.sqs.model.queuedoesnotexistexception: specified queue not exist wsdl version. (service: amazonsqs; status code: 400; error code: aws.simplequeueservice.nonexistentqueue; request id: a7aad5de-f7da-5b34-9d08-9bfd6cbc6ef0)
the sqs connector opensource. can take @ code here: https://github.com/mulesoft/sqs-connector
the configuration seems allow region attribute. looking for.
Comments
Post a Comment