activemq-users mailing list archives

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


I wonder, why you would need to convert Stomp.php to PHP5. I took mine
from 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


View raw message