Commit 2d4d0666 authored by Enriko Käsper's avatar Enriko Käsper

TEIS-780: read Rabbit properties from env variables.

parent 518feeef
......@@ -46,18 +46,10 @@ spring:
password: ${RABBIT_PASSWORD:guest}
listener:
simple:
prefetch: 25
concurrency: 5
max-concurrency: 50
cloud:
kubernetes:
reload:
enabled: false
mode: polling
period: 1000
config:
enabled: false
#paths: /config
prefetch: ${RABBIT_LISTENER_PREFETCH:25}
concurrency: ${RABBIT_LISTENER_MIN_CONCURRENCY:5}
max-concurrency: ${RABBIT_LISTENER_MAX_CONCURRENCY:50}
management:
endpoint:
restart.enabled: true
......@@ -67,13 +59,15 @@ management:
info.enabled: true
teis:
system:
name: officials-service
test:
data:
resetmagic: ${TEST_DATA_RESET_MAGIC:}
system:
name: officials-service
rabbit:
gw-exchange-name: gw_exchange
gw-exchange-reply-timeout: ${RABBIT_TEMPLATE_GW_EXCHANGE_REPLY_TIMEOUT:6000}
ms-exchange-name: ms_exchange
ms-exchange-reply-timeout: ${RABBIT_TEMPLATE_MS_EXCHANGE_REPLY_TIMEOUT:5000}
cs-exchange-name: cache_exchange
cache: classifierItems, classifierDefinitions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment