.elasticmq-server_2.12.1.6.8.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
# What is the outside visible address of this ElasticMQ node
# Used to create the queue URL (may be different from bind address!)
node-address {
protocol = "http"
host = "localhost"
port = 9324
context-path = ""
}
rest-sqs {
enabled = true
bind-port = 9324
bind-hostname = "0.0.0.0"
# Possible values: relaxed, strict
sqs-limits = strict
}
rest-stats {
enabled = true
bind-port = 9325
bind-hostname = "0.0.0.0"
}
# Should the node-address be generated from the bind port/hostname
# Set this to true e.g. when assigning port automatically by using port 0.
generate-node-address = false
queues {
# queueName1 {
# // all optional
# defaultVisibilityTimeout = 10 seconds
# delay = 5 seconds
# maxReceiveCount = 3
# receiveMessageWait = 0 seconds
# deadLettersQueue {
# // all mandatory
# name = "myDLQ"
# maxReceiveCount = 3
# }
# copyTo = "audit-queue-name"
# moveTo = "redirect-queue-name"
# tags {
# tag1 = "tagged1",
# tag2 = "tagged2"
# }
# }
}
queues-storage {
enabled = false
path = ""
}
aws {
region = "elasticmq"
accountId = "000000000000"
}
messages-storage {
enabled = false
driver-class = "org.h2.Driver"
uri = "jdbc:h2:/data/elasticmq-h2"
username = ""
password = ""
prune-data-on-init = false
}