You have to create an AmazonSNSClient and specify the endpoint otherwise it
will default to us-east-1
AWSCredentials awsCredentials = new BasicAWSCredentials("***", "!!!");
AmazonSNSClient client = new AmazonSNSClient(awsCredentials);
client.setEndpoint("http://sns.eu-west-1.amazonaws.com/");
((JndiRegistry) ((PropertyPlaceholderDelegateRegistry)
context.getRegistry()).getRegistry()).bind("amazonSNSClient", client);
than you can use the sns client created in the uri:
template.sendBodyAndHeader("aws-sns://MyTopic?amazonSNSClient=#amazonSNSClient",
"{\"test\":\"testvalue\"}", "Test", "Test header");
--
View this message in context:
http://camel.465427.n5.nabble.com/missing-region-property-in-aws-sns-component-tp4303687p4303872.html
Sent from the Camel - Users mailing list archive at Nabble.com.