diff --git a/modules/distribution/product/src/main/resources/conf/default.json b/modules/distribution/product/src/main/resources/conf/default.json index 108a05e65c..3751f33bd8 100644 --- a/modules/distribution/product/src/main/resources/conf/default.json +++ b/modules/distribution/product/src/main/resources/conf/default.json @@ -267,6 +267,8 @@ "keystore.ssl_profile.default.servers": "*", "keystore.listener_profile.ssl_verify_client" : "optional", "keystore.listener_profile.bind_address" : "0.0.0.0", + "broker.performance_tuning.delivery.topic_message_delivery_strategy.strategy_name": "DISCARD_NONE", + "broker.performance_tuning.delivery.topic_message_delivery_strategy.delivery_timeout": "60", "broker.transport.amqp.enabled" : true, "broker.transport.amqp.bind_address" : "0.0.0.0", "broker.transport.amqp.default_connection.enabled" : true, diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/conf/broker.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/conf/broker.xml.j2 index dc90e3f637..9c341af78a 100644 --- a/modules/distribution/product/src/main/resources/conf/templates/repository/conf/broker.xml.j2 +++ b/modules/distribution/product/src/main/resources/conf/templates/repository/conf/broker.xml.j2 @@ -385,13 +385,17 @@ This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/c sent but ack is not honoured. --> - DISCARD_NONE + {% if broker.performance_tuning.delivery.topic_message_delivery_strategy.strategy_name is defined %} + {{broker.performance_tuning.delivery.topic_message_delivery_strategy.strategy_name}} + {% endif %} - 60 + {% if broker.performance_tuning.delivery.topic_message_delivery_strategy.delivery_timeout is defined %} + {{broker.performance_tuning.delivery.topic_message_delivery_strategy.delivery_timeout}} + {% endif %}