On Thu, Apr 14, 2011 at 10:28 PM, preben <p...@dr.dk> wrote: > 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. >
Fell free to create a JIRA ticket and attach a patch. http://camel.apache.org/contributing.html > /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. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/