On 6/6/07, Schulze <[EMAIL PROTECTED]> wrote:

I tried to use ActiveMQ 4.1.1 with stomp connector from PHP (after porting
Stomp.php for use with PHP5). Surprisingly it behaves like a stack:

Hi,

I wonder, why you would need to convert Stomp.php to PHP5. I took mine
from https://svn.codehaus.org/stomp/trunk/php/ and it works for me.

As for your sample:

consumer.php: $c = new StompConnection('localhost', 5);
Why port 5?

producer.php:  $c->subscribe('/queue/FOO');
Why subscribe in producer? With that i couldn't receive anything at
all in consumer.php.

With those modifications, it worked fine with snapshot
apache-activemq-4.2-20070516.230525-60

Regards,
Atis

Reply via email to