JAVA Message Service (JMS) Point to Point w/ JBoss Tutorial

JAVA Message Service (JMS) Point to Point w/ JBoss Tutorial


What is a JMs Point to Point example? How to create a JBoss server in eclipse? What default port does the JBoss server run on? What is the default JNDI Port for the JBoss server? How to setup the JBoss JAVA build path in eclipse? How to setup a JMS Queue for a JBoss 5.0 server? How to a jndi initial context for a JBoss 5.0 application server? How to get a JMS QueueConnectionFactory? How to get a JMS Queue? How to get a JMS QueueConnection? How to get a JMS QueueSession? How to create a JMS QueueReceiver? How to setup a JMS Queue Message Listener? What is the jms onMessage method? How to send messages to a jms queue on a JBoss server? How to obtain a JMS QueueSender? How is the point to point model different from the publish/subscribe model?

12 thoughts on “JAVA Message Service (JMS) Point to Point w/ JBoss Tutorial”

  1. Hi, I am not able to run it. I always get this exception :

    Exception in thread "main" javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
    at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1678)
    at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1795)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)

  2. hi
    im facing issues as follows. i,e, message is not received from the Consumer.

    The stacktrace which im getting on the jboss console is
    18:15:42,021 WARN [SimpleConnectionManager] A problem has been detected with the connection to remote client 1d6xw5s-ahnwmx-hi088f9h-1-hi088fjj-4, jmsClientID=b-mmf880ih-1-h9f880ih-xmwnha-s5wx6d1. It is possible the client has exited without closing its connection(s) or the network has failed. All associated connection resources will be cleaned up. pls guide

  3. Does anybody solve the issue: "WARN  [SimpleConnectionManager] A problem has been detected with the connection to remote client 5c4o2k5d-obcjan-i2b8qvz6-1-i2b8qwb0-4, jmsClientID=b-idwq8b2i-1-6zvq8b2i-najcbo-d5k2o4c5. It is possible the client has exited without closing its connection(s) or the network has failed. All associated connection resources will be cleaned up." succsessed? Can you guys give me a light?

  4. Running jms consumer application for me it runs through and terminates after System.out.println("Exiting jms");
    Do I have to add code to kepp program alive?

  5. Hey, Would appreciate if you can reply.

    Where did you get the Queue context.lookup("queue/zaneacademy_jms_tutorial02") from?

    I am sure we need to add in the lookup by ourselves but you didnt show where is it in those files

  6. After running the Consumer, the console shows that it is terminated. So, not able to receive any message..
    How did you make to the consumer not terminate after printing the "Exiting JMS.. " ?

Leave a Reply

Your email address will not be published. Required fields are marked *