Add a publisher in broker service and make everything work

This commit is contained in:
2024-09-06 20:16:04 +02:00
parent e05aa83ff5
commit 41dab037ce
7 changed files with 173 additions and 4 deletions

View File

@ -33,6 +33,7 @@ func (consumer *Consumer) setup() error {
if err != nil {
return err
}
defer channel.Close()
return declaireExchange(channel)
}