activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Beginner Question: Making a simple connection to ActiveMQ Server from PHP
Date Mon, 25 Oct 2010 09:00:33 GMT
Hi,

take a look at how to enable stomp on your broker

http://activemq.apache.org/stomp.html

and then how to write clients in PHP

http://stomp.fusesource.org/documentation/php/book.html


Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Sun, Oct 24, 2010 at 5:49 AM, sahhhm <sam.asghari@gatech.edu> wrote:
>
> Hi,
>
> I am currently trying to use the Stomp protocol to interface with an
> ActiveMQ service that already exists elsewhere on a domain.
>
> When I try: $con = new Stomp("http://domain.blah.us:8161");
>
> I get an error similar to:
>
> Fatal error: Uncaught exception 'StompException' with message 'Could not
> connect to domain.blah.us:8161 (10/10)' in
> C:\wamp\www\dashboard\Stomp.php:168 Stack trace: #0
> C:\wamp\www\dashboard\Stomp.php(190): Stomp->_makeConnection() #1
> C:\wamp\www\dashboard\stompTest.php(25): Stomp->connect('sam', 'samgogo.')
> #2 {main} thrown in C:\wamp\www\dashboard\Stomp.php on line 168
>
> Is there any advice to help get me on the right track?
>
> Thanks in Advance!
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Beginner-Question-Making-a-simple-connection-to-ActiveMQ-Server-from-PHP-tp3008939p3008939.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message