At the moment the client is only used either in consume mode or publish mode. It is better to create a client that can consume and publish. For this to work: - [ ] Create the exchange the first time publish is called. - [ ] Create the publisher workers the first time publish is called. - [ ] Create a separate queue when consume is called.
At the moment the client is only used either in consume mode or publish mode. It is better to create a client that can consume and publish.
For this to work: