Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add documentation for rabbitmq cluster

...

Code Block
languagepowershell
titleapplication.properties
...
blueriq.default.rabbitmq.host=localhost
blueriq.default.rabbitmq.port=30010
blueriq.default.rabbitmq.username=guest
blueriq.default.rabbitmq.password=guest
blueriq.default.rabbitmq.virtualHost=/
blueriq.default.rabbitmq.ssl.enabled=false
# From blueriq version 16.9 it is possible to declare multiple hosts (RabbitMQ Cluster)
blueriq.default.rabbitmq.addresses=localhost:30012,otherhost:25102

You can also do this for a multi-tenant setup with the following properties:

Code Block
languagetext
titleapplication.properties
blueriq.multitenancy.default.rabbitmq.tenants.google.host=localhost
blueriq.multitenancy.default.rabbitmq.tenants.google.port=5672
blueriq.multitenancy.default.rabbitmq.tenants.google.username=google
blueriq.multitenancy.default.rabbitmq.tenants.google.password=welcome
blueriq.multitenancy.default.rabbitmq.tenants.google.virtualHost=google
blueriq.multitenancy.default.rabbitmq.tenants.google.ssl.enabled=true

blueriq.multitenancy.default.rabbitmq.tenants.apple.host=localhost
blueriq.multitenancy.default.rabbitmq.tenants.apple.port=5672
blueriq.multitenancy.default.rabbitmq.tenants.apple.username=apple
blueriq.multitenancy.default.rabbitmq.tenants.apple.password=welcome
blueriq.multitenancy.default.rabbitmq.tenants.apple.virtualHost=DefaultEverest
blueriq.multitenancy.default.rabbitmq.tenants.apple.ssl.enabled=true
# From blueriq version 16.9 it is possible to declare multiple hosts as follows
blueriq.multitenancy.default.rabbitmq.tenants.apple.addresses=localhost:30012,otherhost:25102


Add these properties to the application.properties file of the component (i.e. Runtime, Case Engine etc.) to override common RabbitMQ properties for each queue/exchange. The queue and exchange names of the definitions.json file will still be used. Or for .yml (for example the Maintenance App or the DCM Lists Service):

Code Block
languageyml
titleapplication.yml
...
blueriq:
	default:
		rabbitmq:
			host: localhost
			port: 30010
			username: guest
			password: guest
			virtualHost: /
			ssl:
				enabled: false
			# From blueriq version 16.9 it is possible to declare multiple hosts (RabbitMQ Cluster) 
			addresses: localhost:30012,otherhost:25102

If desired, it is possible to configure other exchanges/queues in each component individually. To do that, the following properties can be used.

...