remit icon indicating copy to clipboard operation
remit copied to clipboard

Reconnect with different credentials

Open sysrun opened this issue 6 years ago • 1 comments

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.

sysrun avatar Nov 03 '18 23:11 sysrun

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! ;)

jpwilliams avatar Dec 01 '19 18:12 jpwilliams