2019-03-22 13:49:07 +01:00
|
|
|
nodes = {
|
|
|
|
amqp_node = {
|
|
|
|
type = "amqp",
|
|
|
|
format = "json",
|
|
|
|
|
|
|
|
# Use 'amqps://' to enable SSL/TLS
|
2019-03-26 14:02:12 +01:00
|
|
|
uri = "amqp://username:password@example.com:1234/vhost",
|
2019-03-22 13:49:07 +01:00
|
|
|
|
|
|
|
# Alternatively connection settings can be specified individually
|
|
|
|
username = "guest",
|
|
|
|
password = "guest",
|
|
|
|
host = "localhost",
|
|
|
|
vhost = "/",
|
|
|
|
port = 5672,
|
|
|
|
|
|
|
|
exchange = "mytestexchange",
|
|
|
|
routing_key = "abc",
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2019-03-22 13:49:07 +01:00
|
|
|
ssl = {
|
|
|
|
verify_hostname = true,
|
|
|
|
verify_peer = true,
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2019-03-22 13:49:07 +01:00
|
|
|
ca_cert = "/path/to/ca.crt",
|
|
|
|
client_cert = "/path/to/client.crt",
|
|
|
|
client_key = "/path/to/client.key"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|