JBoss remote listener

Hey all,

I posted earlier about a specific question relating to my code, but I'm hoping if I ask about a more general topic I can get some help:).

I am trying to write a class that listens to a message queue which is on a remote machine. The company who created this message queue has only said: The Message queue action publishes the JBOSS JMS with a constant topic: "QueueName".

I have been unsuccesful in creating a class that can listen to this message queue. Some people have suggested trying Hermes to see this message queue in a graphical way, but I have been unsuccessful in configuring Hermes as well.

I am also not sure if I am supposed to be using a jndi lookup, and if I am, how do I go about accessing the jndi.properties, which is on a remote machine. I have found many examples about using jndi on a localhost, but none which help me with jndi on a remote machine.

I am totally stuck and any help would be greatly appreciated.

Thanks

[996 byte] By [Trunks7712a] at [2007-11-27 5:30:50]
# 1

You need something that consumes JMS messages on your machine. Depending on your experience, that could be an EJB container (eg JBoss) or you could write a [url=http://jencks.org/Message+Driven+POJOs]message-driven POJO[/url]. You might also want a message broker running, to queue the messages up for you. I'd suggest [url=http://activemq.apache.org/]activeMQ[/url]

georgemca at 2007-7-12 14:55:28 > top of Java-index,Java Essentials,Java Programming...