activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atis <a...@BEST.eu.org>
Subject Re: ActiveMQ + PHP + Stomp = ActiveStack ??
Date Wed, 06 Jun 2007 11:14:57 GMT
On 6/6/07, Schulze <schulze-horst@gmx.net> 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

Mime
View raw message