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

We would like to create an empty multicast block under an address #128

Closed
RobertFloor opened this issue Jun 3, 2024 · 1 comment · Fixed by #131
Closed

We would like to create an empty multicast block under an address #128

RobertFloor opened this issue Jun 3, 2024 · 1 comment · Fixed by #131
Labels
bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements

Comments

@RobertFloor
Copy link

SUMMARY

We would like to create an empty multicast block bellow an address in the Artemis configuration, in essence a topic with no consumers yet. The consumers will create the queues themselves but are not allowed to create addresses. Customers create these queues dynamically. This needed since a queue created on a multicast address with no consumers will keep the messages on the address forever.

ISSUE TYPE
  • Bug Report
STEPS TO REPRODUCE

We tested this configuration but it doesn't work:, the rest is default

activemq_addresses:
  - name: importantTopic
      multicast:

EXPECTED RESULTS

We expect this to end up in the broker.xml (should be possible according to the documentation, This example https://activemq.apache.org/components/artemis/documentation/2.0.0/address-model.html. )

<configuration ...>
  <core ...>
    ...
    <address name="importantTopic">
      <multicast/>
    </address>
  </core>
</configuration>
ACTUAL RESULTS

We got validation errors we were not able to create it, It seems this template does not allow for an empty multicast block:
https://github.com/ansible-middleware/amq/blob/main/roles/activemq/templates/addresses.broker.xml.j2

This is holding back a production release of our broker so it would be nice if it can be fixed soon

@guidograzioli guidograzioli added bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements labels Jun 4, 2024
@guidograzioli
Copy link
Member

Reproduced, working on fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants