반응형 queue1 Queue and Exchange 1. Queue 생성queue_declare()큐가 존재하지 않으면 큐를 생성한다// hello 라는 이름의 큐 선언/*name: 큐 이름 (hello)passive: falsedurable: true // the queue will survive server restartsexclusive: false // the queue can be accessed in other channelsauto_delete: false //the queue won't be deleted once the channel is closed.*/$channel->queue_declare('hello', false, false, false, false); 인수 설명 비고name큐 이름amq로 시작하는 큐 이름은 생성 할 수 없다p.. 2025. 9. 10. 이전 1 다음 반응형