Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 18867 invoked from network); 6 Jun 2007 11:15:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 11:15:23 -0000 Received: (qmail 24887 invoked by uid 500); 6 Jun 2007 11:15:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 24817 invoked by uid 500); 6 Jun 2007 11:15:23 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 24778 invoked by uid 99); 6 Jun 2007 11:15:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 04:15:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of atisss@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 04:15:18 -0700 Received: by py-out-1112.google.com with SMTP id f31so185752pyh for ; Wed, 06 Jun 2007 04:14:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RLFY4n3U7GPKYDYyCJz0cfXv2ujb0UvEJdjP8MzYKdlniauj7YHx52E5iI7ikywa563sFKQhLPzozPThFEF4OwUqkjBNVRGJjBlx49mhyIodXeJ+bfSKopkThXbzrkaW5lfvoJhiNw0JiryvEye/c2MjTvbGdZ40R6/WBa1Iir4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=E/hg8m7/SE6uahEDNF8wBPNrtiA2qdKDzljYAivAL6UloxYs2JSW0lpfBE8FpMwbDARO87+WKDms1jMuLM1649eur8W18mM+JDgdzP7KATpQbGYz3vVcbVbnCyWNAin0E0cwWEP88vytdcVBPC86dDn5M2jfCUVBPXZZXcKz0jA= Received: by 10.64.213.3 with SMTP id l3mr672701qbg.1181128497595; Wed, 06 Jun 2007 04:14:57 -0700 (PDT) Received: by 10.65.22.10 with HTTP; Wed, 6 Jun 2007 04:14:57 -0700 (PDT) Message-ID: <945196e0706060414q7fa6ff0wca5309922760f6ed@mail.gmail.com> Date: Wed, 6 Jun 2007 14:14:57 +0300 From: Atis Sender: atisss@gmail.com To: users@activemq.apache.org Subject: Re: ActiveMQ + PHP + Stomp = ActiveStack ?? In-Reply-To: <10985635.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10985635.post@talk.nabble.com> X-Google-Sender-Auth: c6e0ec139d33897c X-Virus-Checked: Checked by ClamAV on apache.org 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: 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