Some parameters can be configured in the plugin config file rabbitmq.config.
[amqp]
uri = amqp://localhost
username = guest
password = guest
[queue]
name = gerrit-queue
decralation = false
durable = true
autoDelete = false
exclusive = false
[exchange]
name = exchange-for-gerrit-queue
declaration = false
type = fanout
durable = false
autoDelete = false
[bind]
startUp = false
routingKey = com.foobar.www.gerrit
[message]
deliveryMode = 1
priority = 0
routingKey = com.foobar.www.gerrit
[gerrit]
name = foobar-gerrit
hostname = www.foobar.com
scheme = ssh
port = 24918
[monitor]
interval = 15000
failureCount = 15
amqp.uri
amqp.username
amqp.password
queue.name
queue.declare
queue.durable
queue.autoDelete
queue.exclusive
exchange.name
exchange.declare
exchange.type
exchange.durable
exchange.autoDelete
bind.startUp
queue.name and exchange.name.bind.routingKey
message.deliveryMode
message.priority
message.routingKey
gerrit.name
gerrit.hostname
gerrit.scheme
gerrit.port
monitor.interval
monitor.failureCount
You can change the below values by specifying them in rabbitmq.config.
Bold is String value.
| name | value |
|---|---|
| amqp.uri | amqp://localhost |
| amqp.username | guest |
| amqp.password | guest |
| queue.name | gerrit.events |
| queue.declare | false |
| queue.durable | true |
| queue.autoDelete | false |
| queue.exclusive | false |
| exchange.name | gerrit.publish |
| exchange.declare | false |
| exchange.type | fanout |
| exchange.durable | false |
| exchange.autoDelete | false |
| bind.startUp | false |
| bind.routingKey | Empty |
| message.deliveryMode | 1 |
| message.priority | 0 |
| message.routingKey | Empty |
| gerrit.name | Empty |
| gerrit.hostname | Empty |
| gerrit.scheme | ssh |
| gerrit.port | 29418 |
| monitor.interval | 15000 |
| monitor.failureCount | 15 |