WIP Rework AMQP stuff: Automatic reconnection to RabbitMQ
[aquarium] / src / main / resources / aquarium.properties
1 version = 0.0.2-SNAPSHOT
2
3 # Location of the Aquarium accounting policy config file. If commented
4 # out, Aquarium will look for the file policy.yaml first at the program
5 # starting directory and then fall back to the classpath.
6 aquarium.policy = policy.yaml
7
8 # Location of the file that defines the mappings between
9 # user roles and agreements
10 aquarium.role-agreement.map=role-agreement.map
11
12 ### Queue related settings
13
14 # How often do we attemot a reconnection?
15 rabbitmq.reconnect.period.millis=1000
16
17 # Comma separated list of rabbitmq servers to use. The servers must be in an
18 # active-active mode.
19 rabbitmq.servers=localhost
20
21 # Port for connecting to the AMQP server
22 rabbitmq.port=5672
23
24 # User name for connecting with the AMQP server
25 rabbitmq.username=aquarium
26
27 # Passwd for connecting with the AMQP server
28 rabbitmq.passwd=aquarium
29
30 # Virtual host on the AMQP server
31 rabbitmq.vhost=/
32
33 # Queue declarations for receiving resource events.
34 # Format is "exchange:routing.key:queue". Entries are separated by comma ','
35 rabbitmq.rcevents.queues=pithos:pithos.resource.#:aquarium-pithos-rcevents,cyclades:cyclades.resource.#:aquarium-cyclades-rcevents
36
37 # Queue declarations for receiving IM events, format is "exchange:routing.key:queue"
38 rabbitmq.imevents.queues=astakos:astakos.user:aquarium-imevents
39
40 # REST service listening port
41 rest.port=8888
42
43 ### Message store related settings
44
45 # Hostname for the persistence service
46 mongodb.host=localhost
47
48 # Port for connecting to the persistence service
49 mongodb.port=27017
50
51 # Username for connecting to the persistence service
52 mongodb.username=aquarium
53
54 # Password for connecting to the persistence service
55 mongodb.password=aquarium
56
57 # The name of the DB schema to use
58 mongodb.dbscheme=aquarium
59
60 ### Performance options
61
62 # Maximum number of open connections to MongoDB. Has no effect if
63 # another driver is in use
64 mongodb.connection.pool.size=20
65
66 # Relative to AQUARIUM_HOME or an absolute path
67 events.store.folder=../events-store
68
69 #######
70 # DO NOT TOUCH the following options, unless you know what you are doing
71 #######
72
73 # Actor subsystem
74 actor.provider.class=gr.grnet.aquarium.service.SimpleLocalRoleableActorProviderService
75 # Class that initializes the REST service
76 rest.service.class=gr.grnet.aquarium.service.RESTActorService
77 # Store subsystem
78 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
79 # Override the user store (if present, it will not be given by the store provider above)
80 #user.state.store.class=gr.grnet.aquarium.store.memory.MemStorede the event store (if present, it will not be given by the store provider above)
81 #resource.event.store.class=
82 # Override the WalletEntry store (if present, it will not be given by the store provider above)
83 #wallet.entry.store.class=
84 # Override the user event store (if present, it will not be given by the store provider above)
85 #user.event.store.class=
86 # Override the user event store (if present, it will not be given by the store provider above)
87 #policy.store.class=
88
89 # The lower mark for the UserActors' LRU.
90 user.actor.LRU.lower.mark=800
91 # The upper mark for the UserActors' LRU.
92 user.actors.LRU.upper.mark=1000
93
94 # A time period in milliseconds for which we can tolerate stale data regarding user state.
95 user.state.timestamp.threshold=10000
96
97 # Exchnage used by Aquarium to publish messages
98 rabbitmq.exchange=aquarium
99
100 # Save unparsed user events to user event store
101 ack.unparsed.event.im=false
102
103 # Administrative REST API authorization cookie
104 admin.cookie=1