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

Provide AMQP broker-connections configuration #70

Merged
merged 4 commits into from
May 15, 2023

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented May 10, 2023

Element broker-connections can now be configured with the variable:

Variable Description Default
activemq_broker_connections AMQP broker connections configuration
List of { name(str),uri(str),operations(list of dicts) }
with operation type in [mirror,sender,receiver,peer]
[]

Sample of mirroring operation:

activemq_broker_connections:
  - uri: 'tcp://<hostname>:<port>'
    name: DC2
    sync: true
    operations:
      - type: mirror
        parameters:
          queue-removal: false

Sample for sender-receiver operation:

activemq_broker_connections:
  - uri: 'tcp://<hostname>:<port>'
    name: other-server
    operations:
      - type: sender
        parameters:
          address-match: 'queues.#'
      - type: receiver
        parameters:
          address-match: 'remotequeues.#'

Broker connections are AMQP connections which allow to configure cross-site fault-tolerance.
For more details, read the artemis documentation and the Configuring AMQ Broker guide

Fix #69

@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label May 10, 2023
@guidograzioli guidograzioli changed the title (WIP) Provide AMQP broker-connections configuiration (WIP) Provide AMQP broker-connections configuration May 10, 2023
@guidograzioli guidograzioli changed the title (WIP) Provide AMQP broker-connections configuration Provide AMQP broker-connections configuration May 11, 2023
@guidograzioli guidograzioli merged commit 588b5d8 into ansible-middleware:main May 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
1 participant