Jump to content


Photo

May I Ask Where You Get The Stomp Library From?


  • Please log in to reply
1 reply to this topic

#1 shadowMan

shadowMan

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 29 December 2012 - 02:33 AM

May I ask where you get the Stomp library from?

I have wamp 2.2 server and php 5.4.3
when I tried installing the stomp extension via PEAR I get


Warning: php_bin c:\wamp\bin\php\php5.4.3\php.exe
appears to have a suffix \php5.4.3\php.exe but config variable php_suffix does not match
ERROR: The DSP Stomp.dsp does not exist


So I've found the php_stomp.dll file and put it in the ext of the php5.4.3 I get the error


Stomp: Unable to initialize module
Module compiled with module API= 20090626
PHP compiled with module API= 20100525
These options need to match.


So I put it in another machine with an older version wamp 2.0 and php 5.3
It showed up under php extension menu so I checked it.
The php.ini was edited to add stomp extension.

But when I tried to use it I get the error class not found.
I use print_r(get_loaded_extensions()); stomp is not there.

I've already spent hours on this. Is there a working compiled php_stomp.dll I can use with
php 5.3 or 5.4.3 I am having a hard time with PEAR.

#2 shadowMan

shadowMan

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 29 December 2012 - 11:48 PM

I've found another extension SAM Simple Asynchronous Messaging
http://project-sam.a...cs/ref.sam.html

However I'm not sure it can be used with JBossESB which is being used on my project.
Does any one here use php to subscribe to a topic from any message broker?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com