It might be more concise if you could set the awssnsendpoint as an uri option
like the rest of the properties.

eg. add
private String awsSNSEndpoint to SnsConfiguration;

and in SnsEndpoint.createSNSClient do
   
if (configuration.getAwsSNSEndpoint() != null) {
                        client.setEndpoint(configuration.getAwsSNSEndpoint());
   }
 
This way you would be able to use the full Spring xml using the uri +
options eg:
aws-sns://b2btopic?awsSNSEndpoint=sns.eu-west-1.amazonaws.com&accessKey=xxxxxxxx&secretKey=xxxx

I have tried it out and it works nice.

/preben



--
View this message in context: 
http://camel.465427.n5.nabble.com/missing-region-property-in-aws-sns-component-tp4303687p4303974.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to