Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting EnableIngressTimestamp causes invalid broker.xml #50

Closed
brusdev opened this issue Jan 26, 2024 · 1 comment
Closed

Setting EnableIngressTimestamp causes invalid broker.xml #50

brusdev opened this issue Jan 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@brusdev
Copy link
Contributor

brusdev commented Jan 26, 2024

The yacfg tool included in quay.io/artemiscloud/activemq-artemis-broker-init:1.0.23 generates camel case values for the enable-ingress-timestamp element that are invalid xml boolean xml element values, i.e.

YAML:

user_address_settings:
- match: #
  dead_letter_address: dlqabc
  max_size_bytes: 10m
  redistribution_delay: 5000
  enable_ingress_timestamp: true
  max_size_messages: 5000
  config_delete_diverts: OFF

XML:

<address-setting match="#">
    <dead-letter-address>dlqabc</dead-letter-address>
    <redistribution-delay>5000</redistribution-delay>
    <max-size-bytes>10m</max-size-bytes>
    <enable-ingress-timestamp>True</enable-ingress-timestamp>
    <max-size-messages>5000</max-size-messages>
    <config-delete-diverts>OFF</config-delete-diverts>
</address-setting>
@brusdev brusdev added the bug Something isn't working label Jan 26, 2024
brusdev added a commit to brusdev/activemq-artemis-broker-init-image that referenced this issue Jan 26, 2024
@brusdev brusdev assigned brusdev and unassigned RoddieKieley Jan 26, 2024
@brusdev
Copy link
Contributor Author

brusdev commented Jan 26, 2024

The fix for this bug will be included in 1.0.24

@brusdev brusdev closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants