2 Replies Latest reply on Jul 26, 2013 11:45 AM by Rich Bonneau

    PHP Stomp to ActiveMQ - Connection not acknowledged

    cmt Newbie

      Hi,

       

      I've downloaded the STOMP client from http://stomp.fusesource.org/documentation/php/book.html and configured Fuse ActiveMQ v5.7 to accept a STOMP connection. When trying to use the example 'first.php' with the correct IP, port, username and password the connect() function throws the following exception:

       

      object(StompException)#2 (8) { ["_details":protected]=> string(0) "" ["message":protected]=> string(27) "Connection not acknowledged" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(26) "/usr/include/php/Stomp.php" ["line":protected]=> int(212) ["trace":"Exception":private]=> array(1) { [0]=> array(6) { ["file"]=> string(28) "/var/www/build-54/first.php" ["line"]=> int(26) ["function"]=> string(7) "connect" ["class"]=> string(5) "Stomp" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL }

       

      Any advice gratefully received.