Some parameters can be configured using config file.
You can locate config files to $site_path/data/rabbitmq/site
. File extension must be .config
. Connection to RabbitMQ will be established for each files.
If rabbitmq.config
exists in $site_path/data/rabbitmq
, it is loaded at first. It means that this is default for all config files.
[amqp] uri = amqp://localhost username = guest password = guest [exchange] name = exchange-for-gerrit-queue [message] deliveryMode = 1 priority = 0 routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com scheme = ssh port = 29418 listenAs = gerrituser [monitor] interval = 15000 failureCount = 15
amqp.uri
amqp.username
amqp.password
exchange.name
message.deliveryMode
message.priority
message.routingKey
gerrit.name
gerrit.hostname
gerrit.scheme
gerrit.port
gerrit.listenAs
monitor.interval
monitor.failureCount
You can change the below values by specifying them in config file.
Bold is String value.
name | value |
---|---|
amqp.uri | amqp://localhost |
amqp.username | guest |
amqp.password | guest |
exchange.name | gerrit.publish |
message.deliveryMode | 1 |
message.priority | 0 |
message.routingKey | Empty |
gerrit.name | Empty |
gerrit.hostname | Empty |
gerrit.scheme | ssh |
gerrit.port | 29418 |
gerrit.listenAs | Unrestricted user |
monitor.interval | 15000 |
monitor.failureCount | 15 |