5 Replies Latest reply on Feb 14, 2007 9:30 AM by webbman

    PHP & JBossMQ

    webbman


      Can php scripts send and receive messages from JBossMQ?
      If yes, HOW? I would appreciate pointers to documentation about
      this. I have googled without much success and the JBoss wiki doesn't
      seem to address this. Having not seen any specific info about this,
      i suspect this is not possible, hopefully that is incorrect!

      Thanks

        • 1. Re: PHP & JBossMQ
          weston.price

          You may want to have a look at

          http://www.onjava.com/pub/a/onjava/2004/10/27/php-jms.html

          Since PHP is just a scripting engine as long as you have some library or thirdparty 'middle man' brokering the communication between you and the JMS provider you should be all set.

          • 2. Re: PHP & JBossMQ
            weston.price

            Also here

            http://sourceforge.net/projects/phpmq/

            Both use MantaRay under the hood.

            • 3. Re: PHP & JBossMQ
              webbman


              Thanks weston.price. Essentially phpmq is a php client which i assume
              was has been developed in sympathy to MantaRay but "can" work with
              other brokers. I have two concerns about this client. Firstly, the last
              release was in 2004 and it does not have a significant user community, i.e. bug discovery/fixing.

              Secondly, need to use selectors for topics and this feature doesn't seem
              to be available from the documentation.

              Does anybody know of a php client used by the JbossMQ community?

              • 4. Re: PHP & JBossMQ
                felipecruz

                Have you considered expose a custom JBossMQ interface as a Webservice and then use php nusoap?

                I´ve already did this with OpenJMS and Xfire.

                • 5. Re: PHP & JBossMQ
                  webbman


                  Thanks for the suggestion but we do not want to go via this route. It seems there is no php client that is commonly used to talk to jbossmq.
                  We will have to use activemq/stomp. Jbossmq looked attractive since
                  it is already installed on our VPS