To access the endpoints via https, set
{{{
sdbSecure = true
s3Secure = true
}}}
in simplejpa.properties.
For more information:
http://code.google.com/p/simplejpa/wiki/Configuration
Is there a way to specify the region? It seems to use the "US" region, but
I want to store data in the European one.
if you want to store in a separate region , specify sdbEndpoint in your
properties file.
printQueries = true
sessionless = true
cacheFactory = com.spaceprogram.simplejpa.cache.KittyCacheFactory
sdbEndpoint = sdb.eu-west-1.amazonaws.com
By default it stores to the US region.
The urls are as specified in
http://docs.amazonwebservices.com/AmazonSimpleDB/latest/DeveloperGuide/index.html?Endpoints.html
Is it only the sdbEndpoint attribute that is required to save it in the eu
region?
I have been messing around the the sample TravelLog application and it only
seems to use the US East 1 Region.
This is what I have in the property file:
# If you want to see the queries generated by SimpleJPA set printQueries to
true
printQueries = true
# Do not change the following values
sessionless = true
bundleBucket = aws-travellog-sample-data
bundlePath = hawaii
sdbEndpoint = sdb.eu-west-1.amazonaws.com