Bind aws sqs region camel
问题 So I'm trying to access to the simple queue service with apache camel. Java DSL approach works fine, but I try to work with xml configuration. private AmazonSQS sqs; sqs = new AmazonSQSClient(credentials); Region sqsRegion = Region.getRegion(Regions.US_WEST_2); sqs.setRegion(sqsRegion); The code above works fine, but i decided to build bean. <context:property-placeholder location="classpath:/default.properties" /> <bean name="sqsClient" class="com.amazonaws.services.sqs.AmazonSQSClient">