1 Reply Latest reply on Jun 1, 2007 4:13 AM by ron_sigal

    SimpleClientListener

    trunks7712

      Hi all,

      I think my problem is pretty basic, but for some reason I can not find an answer.

      I am trying to write a simple client listener program, to get messages off of a message queue. This message queue is set up on a remote machine. I have been trying to set up Hermes, to no avail. I have downloaded the sample program SimpleDetectorClient from JBoss's website. However, this code has not given me any help.

      So basically, I need to write a program (I'm using Eclipse) to listen to this message queue running on a remote machine. Any help or a link to a useful tutorial would be greatly appreciated. Thanks.

        • 1. Re: SimpleClientListener
          ron_sigal

          Since you mentioned Hermes, I assume you're talking about JMS messages, in which case you probably want to work at a higher level than Remoting. JBoss has an implementation of JMS called JBossMessaging which will let you create connections, consume messages, etc. And, of course, it's open source.

          A good place to get started is to go to http://labs.jboss.com/projects and look for the JBossMessaging project.