Re: ActiveMQ Can't Execute PHP Code

2010-03-08 Thread Magnus Persson
As long as you do everything within the context of HTTP you will not be able to keep a persistant connection to the broker. Comet circumvents this by having long-running connections to the web server but this has never been something that the protocol should support - realize that for every open c

Re: ActiveMQ Can't Execute PHP Code

2010-03-05 Thread Roger Hoover
It sounds like you want to do COMET. There are some projects out there like web sockets and orbited that you might be able to use. http://www.nighttale.net/activemq/activemq-54-stomp-over-web-sockets.html http://thingsilearned.com/2009/06/25/sta

Re: ActiveMQ Can't Execute PHP Code

2010-03-04 Thread CauselessEffect
Regarding the PHP client, I have looked into this and unfortunately this does not look to be an optimal solution. I came to STOMP so that I could replace interval polling with PHP because that quickly became a resource hog. All the PHP client examples I have seen require loops. Since PHP is obv

Re: ActiveMQ Can't Execute PHP Code

2010-03-02 Thread Roland Thomas Lichti
CauselessEffect schrieb: > I can access my current website already using PHP via PublicAddress.com:80. > If I want to use my newly created chat using the STOMP protocol I can go to > PublicAddress.com:8000. The problem now being, how can I get Apache and AMQ > to communicate? I need AMQ to be ab

Re: ActiveMQ Can't Execute PHP Code

2010-03-02 Thread c0dem4gnetic
CauselessEffect wrote: > > The problem now being, how can I get Apache and AMQ to communicate? I > need AMQ to be able to communicate with PHP so I can store and retrieve > MySQL data that is coming over STOMP. > One suggestion is to use Apache Camel which is also included with the ActiveMQ di

Re: ActiveMQ Can't Execute PHP Code

2010-03-01 Thread CauselessEffect
Roland.Lichti wrote: > > You have to use the Apache HTTP to run PHP, not AMQ. > Okay, I was just starting to come to that conclusion. So I will use Apache to host HTTP and process PHP, but now I'm confused how to combine this with ActiveMQ. Here is my current model: http://old.nabble.com/fi

Re: ActiveMQ Can't Execute PHP Code

2010-03-01 Thread Roland Thomas Lichti
Hi, CauselessEffect schrieb: > So it appears to already support STOMP. I'm just confused why AMQ can't > read PHP code. Like I said before, PHP always executed fine in Apache but > now in ActiveMQ all I see is PHP code displayed in the browser, no > processing of it. How do I enable AMQ to proc

Re: ActiveMQ Can't Execute PHP Code

2010-03-01 Thread CauselessEffect
Actually, I've tried the latest version but that doesn't seem to work either. The reason I'm using AMQ 5.1 is because I need it for my http://www.kaazing.org/confluence/display/KAAZING/Home Kaazing Gateway Server --which doesn't seem to support 5.3 yet. In my version of AMQ, my "activemq.xml" c

Re: ActiveMQ Can't Execute PHP Code

2010-03-01 Thread Gary Tully
The include_path is for your client side php interpreter so that it can locate the STOMP client implementation. http://www.php.net/manual/en/ini.core.php#ini.include-path ActiveMQ STOMP support is written in java and enabled via a transportConnector. see: http://activemq.apache.org/stomp.html If

ActiveMQ Can't Execute PHP Code

2010-02-28 Thread CauselessEffect
I would like to use a PHP/STOMP client with AMQ but as of now, I can't even get AMQ to read a simple PHP echo. I have seen http://stomp.fusesource.org/documentation/php/book.html this tutorial but I have no idea where the "include_path" in step 2 is configured. I'm using the apache-activemq-5.