什么是可以与PHP一起使用的好的消息代理? [英] What is a good message broker that works with PHP?
问题描述
我正在寻找一个与PHP一起使用的消息代理(例如Java的Apache ActiveMQ),最好是开源的.有任何想法吗?
I am looking for a message broker (like Apache ActiveMQ for Java) that works with PHP, preferably open-source. Any ideas?
推荐答案
您可以使用Stomp( http://stomp. codehaus.org ),它具有PHP客户端,可用于与任何代理进行通信(包括ActiveMQ,
You can use Stomp (http://stomp.codehaus.org), it has a client for PHP that you can use to communicate with any of the brokers (includes ActiveMQ, http://stomp.codehaus.org/Brokers).
还有Memcacheq( http://memcachedb.org/memcacheq/),其中有一个关于如何在该页面上使用它.
There's also Memcacheq (http://memcachedb.org/memcacheq/), there's an example about how to use it on that page.
您还可以使用Apache ActiveMQ并使用类似Zend_Queue(Zend Framework的一部分,
You could also use Apache ActiveMQ and use a library like Zend_Queue (part of the Zend Framework, http://framework.zend.com/manual/en/zend.queue.html). It also supports a few other queue systems.
这篇关于什么是可以与PHP一起使用的好的消息代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!