Php rabbitmq callback

problem description

if you need to change the business logic in a callback that has written a consumer logic, you must rerun the consumer in order to execute the changed business logic correctly. Is there any way to execute the modified business logic without rerunning the consumer?

May.04,2021

you can run your consumer script as part of a shell script every second or less, rather than blocking it

-sharp!/bin/bash 

while [ true ]; do
    result=`/usr/local/bin/php /home/rabbitmq.php`
    sleep 1
done
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e806bf-ada.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e806bf-ada.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?