Skip to content

Commit

Permalink
Merge pull request #13608 from SavinduDimal/broker-xml-j2-issue
Browse files Browse the repository at this point in the history
Add missing J2 mappings
  • Loading branch information
SavinduDimal authored Nov 29, 2024
2 parents eefeeae + 370b561 commit 7492bcb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,17 @@ This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/c
sent but ack is not honoured.
-->
<topicMessageDeliveryStrategy>
<strategyName>DISCARD_NONE</strategyName>
{% if broker.performance_tuning.delivery.topic_message_delivery_strategy.strategy_name is defined %}
<strategyName>{{broker.performance_tuning.delivery.topic_message_delivery_strategy.strategy_name}}</strategyName>
{% endif %}
<!-- If you choose DISCARD_ALLOWED topic message delivery strategy,
broker keep messages in memory until ack is done until this timeout.
If an ack is not received under this timeout, ack will be simulated
internally and real acknowledgement is discarded.
deliveryTimeout is in seconds -->
<deliveryTimeout>60</deliveryTimeout>
{% if broker.performance_tuning.delivery.topic_message_delivery_strategy.delivery_timeout is defined %}
<deliveryTimeout>{{broker.performance_tuning.delivery.topic_message_delivery_strategy.delivery_timeout}}</deliveryTimeout>
{% endif %}
</topicMessageDeliveryStrategy>
</delivery>

Expand Down

0 comments on commit 7492bcb

Please sign in to comment.