nhsconnect / integration-adaptors

Adaptors which accelerate integration with national NHS systems
Apache License 2.0
18 stars 7 forks source link

MHS Adaptor - Enable failover between queues using failoverstring #161

Open robert-joscelyne opened 4 years ago

tomzo commented 4 years ago

The mhs-inbound component expects an AMQP URL where it places the received messages.

Currently, string in following format is acceptable:

amqp+ssl://*********-2.mq.*****.amazonaws.com:5671

However, for a production-grade deployment, it should accept a failover string so that it can use a highly available queue. A failover string would be typically in following format:

failover:(amqp+ssl://******-1.mq.*****.amazonaws.com:5671,amqp+ssl://******-2.mq.****.amazonaws.com:5671)
bartek-sarul commented 4 years ago

https://gpitbjss.atlassian.net/browse/NIAD-136