remit
remit copied to clipboard
Reconnect with different credentials
Hi,
i'd like to know if it's possible to reconnect or disconnect the current remit instance.
Our plan is to connect to the amqp via some default credentials, call a register route and the fetch the unique amqp credentials for the microservice. After the registration the service has to reconnect with the new credentials.
Sorry, @sysrun. My eye hasn't been on this for a long while.
Remit itself could do with a single global .disconnect()
method which shuts everything down. If that's available, you get then shut one connection down and boot up another instance with your new credentials.
I'll look in to what's needed for this. PRs welcome too! ;)