阅读背景:

将结果从RabbitMQ队列推到CakePHP前端。

来源:互联网 

I'm developing a system consisting in frontend built in CakePHP framework and Java based backend. The communication between this two ecosystems is carried out by sending JSON messages from CakePHP controller to RabbitMQ broker. When message is consumed, the result is being send back to the frontend. Now, I need to consume the message and push the result from the controller to user browser. For the PHP part I'm using a phpamqplib, but it needs to have an infinite loop when listening for new messages:I'm developing a system consisting in frontend




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: