How to create a consumer topic exchange

78 views
Skip to first unread message

Abdul Rozak

unread,
Nov 9, 2022, 11:47:20 PM11/9/22
to php-amqplib-devel
Hi, i need your help

i have problem when i create a consumer with topic exchange. my expected result is my consumer file can exec more than queues with same routing key.
example: 
- i want create 3 queues, sync_product.PROD001, sync_product.PROD002, sync_product.PROD003 (dynamicly) with routing key sync_product.*
- and i create one consumer to consume that queues

this is my code 
publisher
Capture.PNG
consumer
Capture.PNG
Reply all
Reply to author
Forward
0 new messages