feat(rabbitmq): lab7 add CA creator script for rabbit, ACL, TLS-only
This commit is contained in:
@@ -124,12 +124,7 @@ func runWorker(ctx context.Context, cfg *config.Config, pipeline *worker.Pipelin
|
||||
|
||||
ch.Qos(2, 0, false)
|
||||
|
||||
q, err := ch.QueueDeclare("attachments.process", true, false, false, false, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
msgs, err := ch.Consume(q.Name, "", false, false, false, false, nil)
|
||||
msgs, err := ch.Consume("attachments.process", "", false, false, false, false, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user